build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Implementation

@override
Widget build(BuildContext context) {
  return Container(
    color: Color.fromRGBO(255, 0, 0, 1.0),
    child: Text(
      reason,
      style: TextStyle(color: Color.fromRGBO(255, 255, 255, 1.0)),
    ),
  );
}