NeumorphicAppBar constructor

NeumorphicAppBar({
  1. Key? key,
  2. Widget? title,
  3. EdgeInsets? buttonPadding,
  4. NeumorphicStyle? buttonStyle,
  5. IconThemeData? iconTheme,
  6. Color? color,
  7. List<Widget>? actions,
  8. TextStyle? textStyle,
  9. Widget? leading,
  10. bool automaticallyImplyLeading = true,
  11. bool? centerTitle,
  12. double titleSpacing = NavigationToolbar.kMiddleSpacing,
  13. double actionSpacing = defaultSpacing,
  14. 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);