PhoenixAppBar constructor

PhoenixAppBar({
  1. Key? key,
  2. Widget? leading,
  3. bool showLeadingDivider = false,
  4. dynamic title,
  5. dynamic actions,
  6. Color? backgroundColor,
  7. PreferredSizeWidget? bottom,
  8. double elevation = 0,
  9. bool automaticallyImplyLeading = true,
  10. double toolbarOpacity = 1.0,
  11. double bottomOpacity = 1.0,
  12. Alignment titleAlignment = Alignment.center,
  13. Widget? flexibleSpace,
  14. VoidCallback? backLeadCallback,
  15. bool? showDefaultBottom,
  16. AppBarConfig? themeData,
  17. double? leadingWidth,
  18. Color? shadowColor,
  19. ShapeBorder? shape,
  20. IconThemeData? iconTheme,
  21. IconThemeData? actionsIconTheme,
  22. bool excludeHeaderSemantics = false,
  23. bool primary = true,
  24. SystemUiOverlayStyle? systemOverlayStyle,
  25. double? titleSpacing,
})

Implementation

PhoenixAppBar(
    {Key? key,
    this.leading,
    this.showLeadingDivider = false,
    this.title,
    this.actions,
    this.backgroundColor,
    this.bottom,
    this.elevation = 0,
    this.automaticallyImplyLeading = true,
    this.toolbarOpacity = 1.0,
    this.bottomOpacity = 1.0,
    this.titleAlignment = Alignment.center,
    this.flexibleSpace,
    this.backLeadCallback,
    this.showDefaultBottom,
    this.themeData,
    this.leadingWidth,
    this.shadowColor,
    this.shape,
    this.iconTheme,
    this.actionsIconTheme,
    this.excludeHeaderSemantics = false,
    this.primary = true,
    this.systemOverlayStyle,
    this.titleSpacing})
    : assert(
          actions == null || actions is Widget || (actions is List<Widget>)),
      assert(title == null || title is String || title is Widget),
      super(key: key, child: Container(), preferredSize: const Size(0, 0));