formatTaskProvider top-level property

ConfigurableTaskProviderFamily<FormatTask, FormatConfig> formatTaskProvider
final

A riverpod provider for the format task.

Implementation

final formatTaskProvider = TaskProvider.configurable(
  FormatTask._taskName,
  FormatConfig.fromJson,
  (ref, config) => FormatTask(
    programRunner: ref.watch(programRunnerProvider),
    config: config,
  ),
);