widgetTitle method

Widget? widgetTitle()

Use as title in popup

  • extend this class and override to change order/behavior

Implementation

Widget? widgetTitle() {
  if (title != null) {
    return Text(
      title!,
      textAlign: TextAlign.center,
    );
  }
  return null;
}