EmergentAppBar constructor
const
EmergentAppBar({
- Key? key,
- Widget? title,
- EdgeInsets? buttonPadding,
- EmergentStyle? buttonStyle,
- IconThemeData? iconTheme,
- Color? color,
- List<
Widget> ? actions, - TextStyle? textStyle,
- Widget? leading,
- bool automaticallyImplyLeading = true,
- bool? centerTitle,
- double titleSpacing = NavigationToolbar.kMiddleSpacing,
- double actionSpacing = defaultSpacing,
- double padding = 16,
Implementation
const EmergentAppBar({
Key? key,
this.title,
this.buttonPadding,
this.buttonStyle,
this.iconTheme,
this.color,
this.actions,
this.textStyle,
this.leading,
this.automaticallyImplyLeading = true,
this.centerTitle,
this.titleSpacing = NavigationToolbar.kMiddleSpacing,
this.actionSpacing = defaultSpacing,
this.padding = 16,
}) : preferredSize = const Size.fromHeight(toolbarHeight),
super(key: key);