FastSectionPage constructor
const
FastSectionPage({
- Key? key,
- Size appBarHeightSize = _kAppBarHeightSize,
- bool isTitlePositionBelowAppBar = true,
- bool isViewScrollable = false,
- bool showAppBar = true,
- Color? appBarBackgroundColor,
- Widget? floatingActionButton,
- EdgeInsets? contentPadding,
- Duration? loadingTimeout,
- WidgetBuilder? contentBuilder,
- WidgetBuilder? loadingBuilder,
- Future<
bool> ? loadingFuture, - WidgetBuilder? errorBuilder,
- Widget? closeButton,
- Widget? backButton,
- Color? titleColor,
- String? titleText,
- List<
Widget> ? actions, - Widget? leading,
- Widget? child,
Implementation
const FastSectionPage({
Key? key,
this.appBarHeightSize = _kAppBarHeightSize,
this.isTitlePositionBelowAppBar = true,
this.isViewScrollable = false,
this.showAppBar = true,
this.appBarBackgroundColor,
this.floatingActionButton,
this.contentPadding,
this.loadingTimeout,
this.contentBuilder,
this.loadingBuilder,
this.footerBuilder,
this.loadingFuture,
this.errorBuilder,
this.closeButton,
this.backButton,
this.titleColor,
this.titleText,
this.actions,
this.leading,
this.footer,
this.child,
}) : assert(
contentBuilder == null || child == null,
'contentBuilder and child properties '
'should not be initialized together',
),
assert(
footerBuilder == null || footer == null,
'footerBuilder and footer properties '
'should not be initialized together',
),
super(key: key);