/// ```

/// {@end-tool}

Sample

Samples are snippets of code that are wrapped with a template,
so you don’t have to write boilerplate code.
The --template can be any of the templates found in
the snippet tool’s templates directory.

/// {@tool sample --template=stateless_widget_scaffold_center}

///

/// This is a comment explaining the snippet below:

///

/// ```dart

///  Widget build(BuildContext context) {

///    return MyWidget(

///      color: Colors.green,

///    );

///  }

/// ```

/// {@end-tool}

DartPad sample