CustomAppBar constructor
CustomAppBar({
- Key? key,
- Widget? leading,
- bool? automaticallyImplyLeading,
- Widget? title,
- List<
Widget> ? actions, - Widget? flexibleSpace,
- PreferredSizeWidget? bottom,
- double? elevation,
- Color? shadowColor,
- ShapeBorder? shape,
- Color? backgroundColor,
- Color? foregroundColor,
- Brightness? brightness,
- IconThemeData? iconTheme,
- IconThemeData? actionsIconTheme,
- TextTheme? textTheme,
- bool? primary,
- bool? centerTitle,
- bool? excludeHeaderSemantics,
- double? titleSpacing,
- double? toolbarOpacity,
- double? bottomOpacity,
- double? toolbarHeight,
- double? leadingWidth,
- bool? backwardsCompatibility,
- TextStyle? toolbarTextStyle,
- TextStyle? titleTextStyle,
Implementation
CustomAppBar({
Key? key,
this.leading,
this.automaticallyImplyLeading,
this.title,
this.actions,
this.flexibleSpace,
this.bottom,
this.elevation,
this.shadowColor,
this.shape,
this.backgroundColor,
this.foregroundColor,
this.brightness,
this.iconTheme,
this.actionsIconTheme,
this.textTheme,
this.primary,
this.centerTitle,
this.excludeHeaderSemantics,
this.titleSpacing,
this.toolbarOpacity,
this.bottomOpacity,
this.toolbarHeight,
this.leadingWidth,
this.backwardsCompatibility,
this.toolbarTextStyle,
this.titleTextStyle,
}) : super(key: key);