ZetaTopAppBar.extended constructor

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

Creates a ZetaTopAppBar with an extended title over 2 lines.

This component must be placed within a CustomScrollView.

Implementation

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