FlutterAppBar constructor
- @FreezedUnionValue.new(FlutterAppBar.unionValue)
FlutterAppBar(
{ - @cN FlutterKey? key,
- @cN AnyWidget? leading,
- bool? automaticallyImplyLeading,
- @cN AnyWidget? title,
- @cN AnyWidgetList? actions,
- @cN AnyWidget? flexibleSpace,
- @cN AnyWidget? bottom,
- double? elevation,
- FlutterColor? shadowColor,
- @cN FlutterShapeBorder? shape,
- FlutterColor? backgroundColor,
- FlutterColor? foregroundColor,
- FlutterIconThemeData? iconTheme,
- FlutterIconThemeData? actionsIconTheme,
- bool? primary,
- bool? centerTitle,
- double? titleSpacing,
- double? toolbarOpacity,
- double? bottomOpacity,
- double? toolbarHeight,
- double? leadingWidth,
- FlutterTextStyle? toolbarTextStyle,
- FlutterTextStyle? titleTextStyle,
- FlutterSystemUiOverlayStyle? systemOverlayStyle,
})
Implementation
@FreezedUnionValue(FlutterAppBar.unionValue)
factory FlutterAppBar({
@FlutterKey.cN FlutterKey? key,
@AnyWidget.cN AnyWidget? leading,
bool? automaticallyImplyLeading,
@AnyWidget.cN AnyWidget? title,
@AnyWidgetList.cN AnyWidgetList? actions,
@AnyWidget.cN AnyWidget? flexibleSpace,
// PreferredSizeWidget
@AnyWidget.cN AnyWidget? bottom,
double? elevation,
FlutterColor? shadowColor,
@FlutterShapeBorder.cN FlutterShapeBorder? shape,
FlutterColor? backgroundColor,
FlutterColor? foregroundColor,
FlutterIconThemeData? iconTheme,
FlutterIconThemeData? actionsIconTheme,
bool? primary,
bool? centerTitle,
bool? excludeHeaderSemantics,
double? titleSpacing,
double? toolbarOpacity,
double? bottomOpacity,
double? toolbarHeight,
double? leadingWidth,
FlutterTextStyle? toolbarTextStyle,
FlutterTextStyle? titleTextStyle,
FlutterSystemUiOverlayStyle? systemOverlayStyle,
}) = _FlutterAppBar;