ContextualAppBar<T> constructor

const ContextualAppBar<T>({
  1. Key? key,
  2. required CounterBuilder counterBuilder,
  3. required List<ContextualAction<T>> contextualActions,
  4. bool automaticallyImplyLeading = true,
  5. IconData? closeIcon = Icons.close,
  6. double? leadingWidth,
  7. Widget? flexibleSpace,
  8. PreferredSizeWidget? bottom,
  9. double? elevation,
  10. double? scrolledUnderElevation,
  11. ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
  12. Color? shadowColor,
  13. Color? surfaceTintColor,
  14. ShapeBorder? shape,
  15. Color? backgroundColor,
  16. Color? foregroundColor,
  17. IconThemeData? iconTheme,
  18. IconThemeData? actionsIconTheme,
  19. bool primary = true,
  20. bool? centerTitle,
  21. bool excludeHeaderSemantics = false,
  22. double? titleSpacing,
  23. double toolbarOpacity = 1.0,
  24. double bottomOpacity = 1.0,
  25. double? toolbarHeight,
  26. TextStyle? toolbarTextStyle,
  27. TextStyle? titleTextStyle,
  28. SystemUiOverlayStyle? systemOverlayStyle,
  29. bool forceMaterialTransparency = false,
  30. Clip? clipBehavior,
})

Implementation

const ContextualAppBar({
  super.key,
  required this.counterBuilder,
  required this.contextualActions,
  this.automaticallyImplyLeading = true,
  this.closeIcon = Icons.close,
  this.leadingWidth,
  this.flexibleSpace,
  this.bottom,
  this.elevation,
  this.scrolledUnderElevation,
  this.notificationPredicate = defaultScrollNotificationPredicate,
  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.toolbarTextStyle,
  this.titleTextStyle,
  this.systemOverlayStyle,
  this.forceMaterialTransparency = false,
  this.clipBehavior,
});