ZetaTopAppBar.extended constructor

const ZetaTopAppBar.extended(
  1. {List<Widget>? actions,
  2. bool automaticallyImplyLeading = true,
  3. AppBarSearchController? searchController,
  4. Widget? leading,
  5. Widget? title,
  6. TextStyle? titleTextStyle,
  7. void onSearch(
    1. String
    )?,
  8. String? searchHintText = 'Search',
  9. VoidCallback? onSearchMicrophoneIconPressed,
  10. bool shrinks = true,
  11. Key? key}
)

Creates a ZetaTopAppBar with an extended title over 2 lines.

This component must be placed within a CustomScrollView.

Implementation

const ZetaTopAppBar.extended({
  this.actions,
  this.automaticallyImplyLeading = true,
  this.searchController,
  this.leading,
  this.title,
  this.titleTextStyle,
  this.onSearch,
  this.searchHintText = 'Search',
  this.onSearchMicrophoneIconPressed,
  this.shrinks = true,
  super.key,
}) : type = ZetaTopAppBarType.extendedTitle;