titleWidget method
Implementation
Widget? titleWidget() => Padding(
padding: EdgeInsets.all(widget.padding),
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Expanded(child: titleText()),
titleActions(),
if (!widget.persistent)
AButton(
onPressed: () => Navigator.of(context).pop(false),
icon: Icons.close,
),
],
),
);