build method

  1. @override
Future<void> build(
  1. BuildStep buildStep
)

Generates the outputs for a given BuildStep.

Implementation

@override
Future<void> build(BuildStep buildStep) async {
  final outputs = await processStylesheet(
    buildStep,
    buildStep.inputId,
    _flags,
  );
  outputs.forEach(buildStep.writeAsString);
}