PhoenixAppBar.buildSearchResultStyle constructor

PhoenixAppBar.buildSearchResultStyle({
  1. Key? key,
  2. String? title,
  3. Color? backgroundColor,
  4. PreferredSizeWidget? bottom,
  5. bool showLeadingDivider = true,
  6. Widget? flexibleSpace,
  7. VoidCallback? backLeadCallback,
  8. bool? showDefaultBottom = true,
  9. AppBarConfig? themeData,
  10. double? leadingWidth,
  11. Color? shadowColor,
  12. ShapeBorder? shape,
  13. IconThemeData? iconTheme,
  14. IconThemeData? actionsIconTheme,
  15. bool excludeHeaderSemantics = false,
  16. bool primary = true,
  17. SystemUiOverlayStyle? systemOverlayStyle,
  18. double? titleSpacing,
})

Implementation

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