FadeScrollAppBar constructor
const
FadeScrollAppBar({
- Key? key,
- required ScrollController scrollController,
- required Widget fadeWidget,
- required Widget child,
- double fadeOffset = 0,
- double toolbarHeight = kToolbarHeight,
- double? collapsedHeight = 65,
- double? expandedHeight = 200,
- bool floating = false,
- bool pinned = false,
- bool snap = false,
- Color? backgroundColor = Colors.white,
- double? elevation = 5,
- Widget? bottomWidget,
- double bottomWidgetHeight = 0,
- Future<
void> appBarOnStretchTrigger()?, - bool appBarStretch = false,
- double appBarStretchTriggerOffset = 100,
- Widget? appBarLeading,
- bool appBarAutomaticallyImplyLeading = false,
- Widget? appBarTitle,
- List<
Widget> ? appBarActions, - Color? appBarShadowColor,
- bool appBarForceElevated = false,
- Color? appBarForegroundColor,
- IconThemeData? appBarIconTheme,
- IconThemeData? appBarActionsIconTheme,
- bool appBarPrimary = true,
- bool? appBarCenterTitle,
- bool appBarExcludeHeaderSemantics = false,
- double? appBarTitleSpacing,
- ShapeBorder? appBarShape,
- double? appBarLeadingWidth,
- TextStyle? appBarToolbarTextStyle,
- TextStyle? appBarTitleTextStyle,
- SystemUiOverlayStyle? appBarSystemOverlayStyle,
Implementation
const FadeScrollAppBar({
Key? key,
//
required this.scrollController,
required this.fadeWidget,
required this.child,
this.fadeOffset = 0,
this.toolbarHeight = kToolbarHeight,
this.collapsedHeight = 65,
this.expandedHeight = 200,
this.floating = false,
this.pinned = false,
this.snap = false,
this.backgroundColor = Colors.white,
this.elevation = 5,
this.bottomWidget,
this.bottomWidgetHeight = 0,
//
this.appBarOnStretchTrigger,
this.appBarStretch = false,
this.appBarStretchTriggerOffset = 100,
this.appBarLeading,
this.appBarAutomaticallyImplyLeading = false,
this.appBarTitle,
this.appBarActions,
this.appBarShadowColor,
this.appBarForceElevated = false,
this.appBarForegroundColor,
this.appBarIconTheme,
this.appBarActionsIconTheme,
this.appBarPrimary = true,
this.appBarCenterTitle,
this.appBarExcludeHeaderSemantics = false,
this.appBarTitleSpacing,
this.appBarShape,
this.appBarLeadingWidth,
this.appBarToolbarTextStyle,
this.appBarTitleTextStyle,
this.appBarSystemOverlayStyle,
//
}) : super(key: key);