getErrorMessage static method
- 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)),
],
);