getWidget property

  1. @override
Widget get getWidget
override

Implementation

@override
Widget get getWidget {
  return Text(
    text,
    textAlign: TextAlign.center,
    style: style ?? const TextStyle(color: Colors.black, fontSize: 18),
  );
}