/// {@end-tool}

DartPad sample

To add a sample that runs in DartPad,
use {@tool dartpad} and provide the same
templates found in the templates directory:

/// {@tool dartpad --template=stateless_widget_material}

///

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

///

/// ```dart

///  Widget build(BuildContext context) {

///    return MyWidget(

///      color: Colors.green,

///    );

///  }

/// ```

/// {@end-tool}

Adding References

If a Widget needs references,
add a See also: section to the end of a widget’s
documentation comment:

/// Creates a route for the given route settings.

///