JJAppNavigationBar constructor

const JJAppNavigationBar({
  1. Key? key,
  2. Widget? title,
  3. String? titleStr,
  4. Widget? left,
  5. Widget? right,
  6. bool canGoBack = true,
  7. dynamic backTap()?,
  8. double titleBarHeight = DoubleValue.titleBarHeight,
  9. BoxDecoration? backDecoration,
  10. List<Widget>? actions,
  11. Widget? flexibleSpace,
  12. PreferredSizeWidget? bottom,
  13. double? elevation,
  14. double? scrolledUnderElevation,
  15. Color? shadowColor,
  16. Color? surfaceTintColor,
  17. ShapeBorder? shape,
  18. Color? backgroundColor,
  19. Color? foregroundColor,
  20. IconThemeData? iconTheme,
  21. IconThemeData? actionsIconTheme,
  22. bool primary = true,
  23. bool? centerTitle,
  24. bool excludeHeaderSemantics = false,
  25. double? titleSpacing,
  26. double toolbarOpacity = 1.0,
  27. double bottomOpacity = 1.0,
  28. double? toolbarHeight,
  29. double? leadingWidth,
  30. TextStyle? toolbarTextStyle,
  31. TextStyle? titleTextStyle,
  32. SystemUiOverlayStyle? systemOverlayStyle,
})

Implementation

const JJAppNavigationBar({
  Key? key,
  this.title,
  this.titleStr,
  this.left,
  this.right,
  this.canGoBack = true,
  this.backTap,
  this.titleBarHeight = DoubleValue.titleBarHeight,//44
  this.backDecoration,

  this.actions,
  this.flexibleSpace,
  this.bottom,
  this.elevation,
  this.scrolledUnderElevation,
  this.shadowColor,
  this.surfaceTintColor,
  this.shape,
  this.backgroundColor,
  this.foregroundColor,
  this.iconTheme,
  this.actionsIconTheme,
  this.primary = true,
  this.centerTitle,
  this.excludeHeaderSemantics = false,
  this.titleSpacing,
  this.toolbarOpacity = 1.0,
  this.bottomOpacity = 1.0,
  this.toolbarHeight,
  this.leadingWidth,
  this.toolbarTextStyle,
  this.titleTextStyle,
  this.systemOverlayStyle,

}) : super(key: key);