FlutterCompatTask class tasks
A task that checks if the package can be added to a flutter project.
Flutter hardcodes certain package versions in their SDK, making any package that requires a different version of that package incompatible to all flutter projects. This task tries to create a temporary flutter project and add this package to it as dependency to check if such problems exist.
- Implemented types
Constructors
- FlutterCompatTask({required ProgramRunner programRunner, required TaskLogger taskLogger})
-
Default Constructor.
const
Properties
- callForEmptyEntries → bool
-
Specifies, whether the task should still be executed, even if no files
match.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- programRunner → ProgramRunner
-
The ProgramRunner instance used by this task.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taskLogger → TaskLogger
-
The TaskLogger instance used by this task.
final
- taskName → String
-
Returns the user-visible name of the task.
no setteroverride
Methods
-
call(
Iterable< RepoEntry> entries) → Future<TaskResult> -
Executes the task on all given
entries
.override -
canProcess(
RepoEntry entry) → bool -
Checks if a RepoEntry can be processed by this task.
override
-
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