NeumorphicAppBar constructor
NeumorphicAppBar({
- Key? key,
- Widget? title,
- EdgeInsets? buttonPadding,
- NeumorphicStyle? 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
NeumorphicAppBar({
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 = Size.fromHeight(toolbarHeight),
super(key: key);