BaseAppBar constructor

const BaseAppBar({
  1. Key? key,
  2. Widget? leading,
  3. Widget? trailing,
  4. bool automaticallyImplyLeading = true,
  5. bool automaticallyImplyMiddle = true,
  6. Color? backgroundColor,
  7. Brightness? brightness,
  8. String? previousPageTitle,
  9. Widget? middle,
  10. Border? border = const Border(bottom: BorderSide(color: Color(0x4C000000), width: 0.0, style: BorderStyle.solid)),
  11. EdgeInsetsDirectional? padding,
  12. bool? transitionBetweenRoutes,
  13. Object? heroTag,
  14. bool? backdropFilter,
  15. double? height,
  16. Widget? title,
  17. List<Widget>? actions,
  18. Widget? flexibleSpace,
  19. PreferredSizeWidget? bottom,
  20. double? elevation = 4.0,
  21. IconThemeData? iconTheme,
  22. Color? shadowColor,
  23. ShapeBorder? shape,
  24. IconThemeData? actionsIconTheme,
  25. TextTheme? textTheme,
  26. bool primary = true,
  27. bool? centerTitle,
  28. double? titleSpacing = NavigationToolbar.kMiddleSpacing,
  29. bool excludeHeaderSemantics = false,
  30. double toolbarOpacity = 1.0,
  31. double bottomOpacity = 1.0,
  32. Color? foregroundColor,
  33. double? leadingWidth,
  34. bool? backwardsCompatibility,
  35. TextStyle? toolbarTextStyle,
  36. TextStyle? titleTextStyle,
  37. SystemUiOverlayStyle? systemOverlayStyle,
  38. List<BaseNavigationBarAction>? leadingActions,
  39. List<BaseNavigationBarAction>? trailingActions,
  40. bool transparent = false,
  41. bool largeTitle = false,
  42. Color? tint,
  43. List<String>? segmentedControlLabels,
  44. int? segmentedControlSelectedIndex,
  45. ValueChanged<int>? onSegmentedControlValueChanged,
  46. double? segmentedControlHeight,
  47. Color? segmentedControlTint,
  48. double? segmentedControlLabelSize,
  49. BaseParam? baseParam,
})

Implementation

const BaseAppBar({
  Key? key,
  this.leading,
  this.trailing,
  this.automaticallyImplyLeading = true,
  this.automaticallyImplyMiddle = true,
  this.backgroundColor,
  this.brightness,
  this.previousPageTitle,
  this.middle,
  this.border = const Border(
    bottom: BorderSide(
      color: Color(0x4C000000),
      width: 0.0, // One physical pixel.
      style: BorderStyle.solid,
    ),
  ),
  this.padding,
  this.transitionBetweenRoutes,
  this.heroTag,
  this.backdropFilter,
  this.height,
  this.title,
  this.actions,
  this.flexibleSpace,
  this.bottom,
  this.elevation = 4.0,
  this.iconTheme,
  this.shadowColor,
  this.shape,
  this.actionsIconTheme,
  this.textTheme,
  this.primary = true,
  this.centerTitle,
  this.titleSpacing = NavigationToolbar.kMiddleSpacing,
  this.excludeHeaderSemantics = false,
  this.toolbarOpacity = 1.0,
  this.bottomOpacity = 1.0,
  this.foregroundColor,
  this.leadingWidth,
  this.backwardsCompatibility,
  this.toolbarTextStyle,
  this.titleTextStyle,
  this.systemOverlayStyle,
  this.leadingActions,
  this.trailingActions,
  this.transparent = false,
  this.largeTitle = false,
  this.tint,
  this.segmentedControlLabels,
  this.segmentedControlSelectedIndex,
  this.onSegmentedControlValueChanged,
  this.segmentedControlHeight,
  this.segmentedControlTint,
  this.segmentedControlLabelSize,
  BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);