scaffoldWidget method
Wraps body in a Scaffold.
Only called when wrapInScaffold is true. Must be overridden, or a
descriptive UnimplementedError is thrown at runtime.
Implementation
@protected
Widget scaffoldWidget(BuildContext context, Widget body) {
throw UnimplementedError(
'wrapInScaffold is true, but scaffoldWidget() is not overridden. '
'Either override scaffoldWidget() to provide a Scaffold, '
'or set wrapInScaffold to false.',
);
}