FastHomePageLayout constructor

const FastHomePageLayout({
  1. Key? key,
  2. required List<Widget> children,
  3. double appBarExpandedHeight = kFastExpandedHeight,
  4. LinearGradient? appBarBackgroundLinearGradient,
  5. Color? appBarBackgroundColor,
  6. Widget? floatingActionButton,
  7. Widget? appBarDecoration,
  8. ScrollController? scrollController,
  9. EdgeInsetsGeometry? contentPadding,
  10. String? subtitleText,
  11. String? titleText,
  12. List<Widget>? actions,
  13. Widget? leading,
})

Implementation

const FastHomePageLayout({
  super.key,
  required this.children,
  this.appBarExpandedHeight = kFastExpandedHeight,
  this.appBarBackgroundLinearGradient,
  this.appBarBackgroundColor,
  this.floatingActionButton,
  this.appBarDecoration,
  this.scrollController,
  this.contentPadding,
  this.subtitleText,
  this.titleText,
  this.actions,
  this.leading,
}) : assert(
        appBarExpandedHeight >= kFastExpandedHeight ? true : false,
      );