ZetaTopAppBar constructor
- Key? key,
- bool? rounded,
- List<
Widget> ? actions, - bool automaticallyImplyLeading = true,
- ZetaSearchController? searchController,
- Widget? leading,
- Widget? title,
- TextStyle? titleTextStyle,
- ZetaTopAppBarType type = ZetaTopAppBarType.defaultAppBar,
- void onSearch()?,
- String? searchHintText = 'Search',
- VoidCallback? onSearchMicrophoneIconPressed,
Creates a ZetaTopAppBar.
Implementation
const ZetaTopAppBar({
super.key,
super.rounded,
this.actions,
this.automaticallyImplyLeading = true,
this.searchController,
this.leading,
this.title,
this.titleTextStyle,
this.type = ZetaTopAppBarType.defaultAppBar,
this.onSearch,
this.searchHintText = 'Search',
this.onSearchMicrophoneIconPressed,
}) : shrinks = false;