onAppBar method
Provide a appBar using this function instead.
Implementation
PreferredSizeWidget? onAppBar() {
final _widget = widget as ScaffoldScreenWidget;
return _widget.title == null
? null
: AppBar(
title: Text(_widget.title ?? ''),
actions: [
Padding(
padding: EdgeInsets.only(right: screenSize.width * 0.05),
child: const BackButton(),
)
],
);
}