const
AppBar(- {Key? key,
- Widget? leading,
- bool automaticallyImplyLeading,
- Widget? title,
- List<Widget>? actions,
- Widget? flexibleSpace,
- PreferredSizeWidget? bottom,
- double? elevation,
- double? scrolledUnderElevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- ShapeBorder? shape,
- Color? backgroundColor,
- Color? foregroundColor,
- bool primary,
- bool? centerTitle,
- double? titleSpacing,
- double toolbarOpacity,
- double bottomOpacity,
- double? toolbarHeight,
- double? leadingWidth,
- TextStyle? toolbarTextStyle,
- TextStyle? titleTextStyle,
- bool forceMaterialTransparency}
)
Implementation
const factory AppBar(
{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 ShapeBorder? shape,
final Color? backgroundColor,
final Color? foregroundColor,
final bool primary,
final bool? centerTitle,
final bool excludeHeaderSemantics,
final double? titleSpacing,
final double toolbarOpacity,
final double bottomOpacity,
final double? toolbarHeight,
final double? leadingWidth,
final TextStyle? toolbarTextStyle,
final TextStyle? titleTextStyle,
final bool forceMaterialTransparency}) = _$AppBar;