XAppBar constructor

const XAppBar({
  1. Key? key,
  2. String? title,
  3. Widget? child,
  4. TextStyle? titleTextStyle,
  5. VoidCallback? onTapBack,
  6. List<Widget>? actions,
  7. bool isTitleCenter = true,
  8. double? toolbarHeight,
  9. Color? backgroundColor,
  10. Widget? backButton,
  11. Widget? leading,
  12. bool automaticallyImplyLeading = true,
  13. bool automaticallyImplyActions = true,
  14. Widget? flexibleSpace,
  15. PreferredSizeWidget? bottom,
  16. double? elevation,
  17. double? scrolledUnderElevation,
  18. ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
  19. Color? shadowColor,
  20. Color? surfaceTintColor,
  21. ShapeBorder? shape,
  22. Color? foregroundColor,
  23. IconThemeData? iconTheme,
  24. IconThemeData? actionsIconTheme,
  25. bool primary = true,
  26. bool excludeHeaderSemantics = false,
  27. double? titleSpacing,
  28. double toolbarOpacity = 1.0,
  29. double bottomOpacity = 1.0,
  30. double? leadingWidth,
  31. TextStyle? toolbarTextStyle,
  32. SystemUiOverlayStyle? systemOverlayStyle,
  33. bool forceMaterialTransparency = false,
  34. bool useDefaultSemanticsOrder = true,
  35. Clip? clipBehavior,
  36. EdgeInsetsGeometry? actionsPadding,
  37. bool animateColor = false,
})

Implementation

const XAppBar({
  super.key,
  this.title,
  this.child,
  this.titleTextStyle,
  this.onTapBack,
  this.actions,
  this.isTitleCenter = true,
  this.toolbarHeight,
  this.backgroundColor,
  this.backButton,
  this.leading,
  this.automaticallyImplyLeading = true,
  this.automaticallyImplyActions = true,
  this.flexibleSpace,
  this.bottom,
  this.elevation,
  this.scrolledUnderElevation,
  this.notificationPredicate = defaultScrollNotificationPredicate,
  this.shadowColor,
  this.surfaceTintColor,
  this.shape,
  this.foregroundColor,
  this.iconTheme,
  this.actionsIconTheme,
  this.primary = true,
  this.excludeHeaderSemantics = false,
  this.titleSpacing,
  this.toolbarOpacity = 1.0,
  this.bottomOpacity = 1.0,
  this.leadingWidth,
  this.toolbarTextStyle,
  this.systemOverlayStyle,
  this.forceMaterialTransparency = false,
  this.useDefaultSemanticsOrder = true,
  this.clipBehavior,
  this.actionsPadding,
  this.animateColor = false,
});