tasks library

Classes

ConfigurableTaskProviderBuilder
A helper class to easily create a ConfigurableTaskProviderFamily.
ConfigurableTaskProviderFamily<State extends TaskBase, Arg>
A custom riverpod provider family for TaskBase classes that are configurable.
DefaultTasksLoader
A helper class to automatically register all tasks that are provided with this package in the TaskLoader.
FileTask
A task that is run multiple times, once for every matching file.
RepoEntry
Describes a file in the repository to be analyzed.
RepoTask
A task that runs once for the whole repository.
TaskBase
The base class for all tasks.
TaskLoader
A helper class to register TaskProviders in the application to be used by the Hooks instance.
TaskProvider<State extends TaskBase>
A custom riverpod provider for TaskBase classes.

Enums

TaskResult
The possible result states of a generic task.

Mixins

PatternTaskMixin
A mixin for TaskBase that implements TaskBase.canProcess based on a filePattern.

Properties

analyzeTaskProvider ConfigurableTaskProviderFamily<AnalyzeTask, AnalyzeConfig>
A riverpod provider for the analyze task.
final
customLintTaskProvider TaskProvider<CustomLintTask>
A riverpod provider for the custom-lint task.
final
defaultTasksLoaderProvider → Provider<DefaultTasksLoader>
A riverpod provider for the DefaultTasksLoader.
final
flutterCompatTaskProvider TaskProvider<FlutterCompatTask>
A riverpod provider for the flutter compatibility task.
final
formatTaskProvider ConfigurableTaskProviderFamily<FormatTask, FormatConfig>
A riverpod provider for the format task.
final
osvScannerTaskProvider ConfigurableTaskProviderFamily<OsvScannerTask, OsvScannerConfig>
A riverpod provider for the osv scanner task.
final
outdatedTaskProvider ConfigurableTaskProviderFamily<OutdatedTask, OutdatedConfig>
A riverpod provider for the outdated task.
final
pullUpDependenciesTaskProvider ConfigurableTaskProviderFamily<PullUpDependenciesTask, PullUpDependenciesConfig>
A riverpod provider for the pull up dependencies task.
final
taskLoaderProvider → Provider<TaskLoader>
A riverpod provider for the TaskLoader
final

Typedefs

ArgFromJson<Arg> = Arg Function(Map<String, dynamic> json)
Typedef for a function that can parse a task configuration.