help method

Widget help(
  1. String? text, {
  2. bool? below,
})

A modifier that sets its widget's frame size.

Example:

Icon(Icons.settings)
    .help('App settings');

Implementation

Widget help(String? text, {bool? below}) {
  return text == null
      ? this
      : Tooltip(child: this, message: text, preferBelow: below);
}