PhoenixAppBar constructor
PhoenixAppBar({
- Key? key,
- Widget? leading,
- bool showLeadingDivider = false,
- dynamic title,
- dynamic actions,
- Color? backgroundColor,
- PreferredSizeWidget? bottom,
- double elevation = 0,
- bool automaticallyImplyLeading = true,
- double toolbarOpacity = 1.0,
- double bottomOpacity = 1.0,
- Alignment titleAlignment = Alignment.center,
- Widget? flexibleSpace,
- VoidCallback? backLeadCallback,
- bool? showDefaultBottom,
- AppBarConfig? themeData,
- double? leadingWidth,
- Color? shadowColor,
- ShapeBorder? shape,
- IconThemeData? iconTheme,
- IconThemeData? actionsIconTheme,
- bool excludeHeaderSemantics = false,
- bool primary = true,
- SystemUiOverlayStyle? systemOverlayStyle,
- double? titleSpacing,
Implementation
PhoenixAppBar(
{Key? key,
this.leading,
this.showLeadingDivider = false,
this.title,
this.actions,
this.backgroundColor,
this.bottom,
this.elevation = 0,
this.automaticallyImplyLeading = true,
this.toolbarOpacity = 1.0,
this.bottomOpacity = 1.0,
this.titleAlignment = Alignment.center,
this.flexibleSpace,
this.backLeadCallback,
this.showDefaultBottom,
this.themeData,
this.leadingWidth,
this.shadowColor,
this.shape,
this.iconTheme,
this.actionsIconTheme,
this.excludeHeaderSemantics = false,
this.primary = true,
this.systemOverlayStyle,
this.titleSpacing})
: assert(
actions == null || actions is Widget || (actions is List<Widget>)),
assert(title == null || title is String || title is Widget),
super(key: key, child: Container(), preferredSize: const Size(0, 0));