ZetaTopAppBar.extended constructor
- Key? key,
- bool? rounded,
- List<
Widget> ? actions, - bool automaticallyImplyLeading = true,
- ZetaSearchController? searchController,
- Widget? leading,
- Widget? title,
- TextStyle? titleTextStyle,
- void onSearch()?,
- String? searchHintText = 'Search',
- VoidCallback? onSearchMicrophoneIconPressed,
- 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;