PubspecManager class
A utility class responsible for managing and modifying
the pubspec.yaml file of a Flutter project.
This class ensures that the required development dependencies
are present and up-to-date, such as flutter_launcher_icons.
Constructors
- PubspecManager(Logger logger)
-
Creates a new PubspecManager with the provided
logger.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- logger → Logger
-
Logger instance used for showing progress and messages.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
ensureFlutterLauncherIcons(
File pubspecFile) → Future< void> -
Ensures that the
flutter_launcher_iconspackage is included under thedev_dependenciessection of the givenpubspecFile. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited