const
SliverAppBar(- {Key? key,
- Widget? leading,
- bool automaticallyImplyLeading,
- Widget? title,
- List<Widget>? actions,
- Widget? flexibleSpace,
- PreferredSizeWidget? bottom,
- double? elevation,
- double? scrolledUnderElevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- bool forceElevated,
- Color? backgroundColor,
- Color? foregroundColor,
- bool primary,
- bool? centerTitle,
- double? titleSpacing,
- double? collapsedHeight,
- double? expandedHeight,
- bool floating,
- bool pinned,
- bool snap,
- bool stretch,
- double stretchTriggerOffset,
- ShapeBorder? shape,
- double toolbarHeight,
- double? leadingWidth,
- TextStyle? toolbarTextStyle,
- TextStyle? titleTextStyle,
- bool forceMaterialTransparency}
)
Implementation
const factory SliverAppBar(
{final Key? key,
final Widget? leading,
final bool automaticallyImplyLeading,
final Widget? title,
final List<Widget>? actions,
final Widget? flexibleSpace,
final PreferredSizeWidget? bottom,
final double? elevation,
final double? scrolledUnderElevation,
final Color? shadowColor,
final Color? surfaceTintColor,
final bool forceElevated,
final Color? backgroundColor,
final Color? foregroundColor,
final bool primary,
final bool? centerTitle,
final bool excludeHeaderSemantics,
final double? titleSpacing,
final double? collapsedHeight,
final double? expandedHeight,
final bool floating,
final bool pinned,
final bool snap,
final bool stretch,
final double stretchTriggerOffset,
final ShapeBorder? shape,
final double toolbarHeight,
final double? leadingWidth,
final TextStyle? toolbarTextStyle,
final TextStyle? titleTextStyle,
final bool forceMaterialTransparency}) = _$SliverAppBar;