showMessage method

void showMessage(
  1. String content,
  2. ScaffoldState scaffoldState
)

Implementation

void showMessage(String content, ScaffoldState scaffoldState) {
  // final snackBar = SnackBar(
  //   content: Text(content),
  // action: SnackBarAction(
  //   label: 'Undo',
  //   onPressed: () {
  //     // Some code to undo the change.
  //   },
  // ),
  // );
  // Find the Scaffold in the widget tree and use
  // it to show a SnackBar.
  // scaffoldState.showSnackBar(snackBar);
}