FastSectionPage constructor

FastSectionPage({
  1. Key? key,
  2. Size appBarHeightSize = _kAppBarHeightSize,
  3. bool isTitlePositionBelowAppBar = true,
  4. bool isViewScrollable = false,
  5. bool showAppBar = true,
  6. Color? appBarBackgroundColor,
  7. Widget? floatingActionButton,
  8. EdgeInsets? contentPadding,
  9. Duration? loadingTimeout,
  10. WidgetBuilder? contentBuilder,
  11. WidgetBuilder? loadingBuilder,
  12. WidgetBuilder? footerBuilder,
  13. Future<bool>? loadingFuture,
  14. WidgetBuilder? errorBuilder,
  15. Widget? closeButton,
  16. Widget? backButton,
  17. Color? titleColor,
  18. String? titleText,
  19. List<Widget>? actions,
  20. Widget? leading,
  21. Widget? footer,
  22. Widget? child,
})

Implementation

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);