FlutterAppBar constructor

  1. @FreezedUnionValue.new(FlutterAppBar.unionValue)
FlutterAppBar({
  1. @cN FlutterKey? key,
  2. @cN AnyWidget? leading,
  3. bool? automaticallyImplyLeading,
  4. @cN AnyWidget? title,
  5. @cN AnyWidgetList? actions,
  6. @cN AnyWidget? flexibleSpace,
  7. @cN AnyWidget? bottom,
  8. double? elevation,
  9. FlutterColor? shadowColor,
  10. @cN FlutterShapeBorder? shape,
  11. FlutterColor? backgroundColor,
  12. FlutterColor? foregroundColor,
  13. FlutterIconThemeData? iconTheme,
  14. FlutterIconThemeData? actionsIconTheme,
  15. bool? primary,
  16. bool? centerTitle,
  17. bool? excludeHeaderSemantics,
  18. double? titleSpacing,
  19. double? toolbarOpacity,
  20. double? bottomOpacity,
  21. double? toolbarHeight,
  22. double? leadingWidth,
  23. FlutterTextStyle? toolbarTextStyle,
  24. FlutterTextStyle? titleTextStyle,
  25. 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;