FastPageLayout constructor
FastPageLayout({
- Key? key,
- bool avoidOperatingSystemInterfaces = true,
- bool isViewScrollable = false,
- EdgeInsets? contentPadding,
- Duration? loadingTimeout,
- WidgetBuilder? contentBuilder,
- WidgetBuilder? loadingBuilder,
- Future<
bool> ? loadingFuture, - WidgetBuilder? errorBuilder,
- Color? titleColor,
- String? titleText,
- Widget? child,
Implementation
FastPageLayout({
Key? key,
this.avoidOperatingSystemInterfaces = true,
this.isViewScrollable = false,
this.contentPadding,
this.loadingTimeout,
this.contentBuilder,
this.loadingBuilder,
this.footerBuilder,
this.loadingFuture,
this.errorBuilder,
this.titleColor,
this.titleText,
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);