UIProAppBar constructor

const UIProAppBar({
  1. Key? key,
  2. dynamic title,
  3. bool showBackButton = false,
  4. VoidCallback? onBackPressed,
  5. IconData? backIcon,
  6. Widget? leading,
  7. List<UIProAppBarAction>? actions,
  8. Widget? trailing,
  9. Color? backgroundColor,
  10. Color? foregroundColor,
  11. double? elevation,
  12. bool? centerTitle,
  13. TextStyle? titleStyle,
  14. PreferredSizeWidget? bottom,
  15. SystemUiOverlayStyle? systemOverlayStyle,
  16. bool isSliver = false,
  17. bool largeTitle = false,
  18. Widget? flexibleSpace,
  19. bool automaticallyImplyLeading = true,
})

Creates a theme-aware app bar.

Implementation

const UIProAppBar({
  super.key,
  this.title,
  this.showBackButton = false,
  this.onBackPressed,
  this.backIcon,
  this.leading,
  this.actions,
  this.trailing,
  this.backgroundColor,
  this.foregroundColor,
  this.elevation,
  this.centerTitle,
  this.titleStyle,
  this.bottom,
  this.systemOverlayStyle,
  this.isSliver = false,
  this.largeTitle = false,
  this.flexibleSpace,
  this.automaticallyImplyLeading = true,
});