getErrorMessage static method

Widget getErrorMessage(
  1. String message
)

Implementation

static Widget getErrorMessage(String message) => Row(
  children: <Widget>[
    const Icon(Icons.error_outline, color: Colors.red),
    const SizedBox(width: SMALL_SPACE),
    Expanded(child: Text(message)),
  ],
);