build method

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

Describes the part of the user interface represented by this component.

Implementation

@override
Component build(BuildContext context) {
  return SizedBox(
    height: 1,
    child: Row(
      children: [
        Expanded(child: Text(' $message')),
      ],
    ),
  );
}