ZetaTopAppBar.extended constructor
- Key? key,
- bool? rounded,
- List<
Widget> actions = const [], - bool automaticallyImplyLeading = true,
- Widget? leading,
- Widget? title,
- TextStyle? titleTextStyle,
- bool shrinks = true,
- @Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') ValueChanged<
String> ? onSearch, - @Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') String? searchHintText,
- @Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') ZetaSearchController? searchController,
- @Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') VoidCallback? onSearchMicrophoneIconPressed,
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 = const [],
this.automaticallyImplyLeading = true,
this.leading,
this.title,
this.titleTextStyle,
this.shrinks = true,
@Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') ValueChanged<String>? onSearch,
@Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') String? searchHintText,
@Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') ZetaSearchController? searchController,
@Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0')
VoidCallback? onSearchMicrophoneIconPressed,
}) : type = ZetaTopAppBarType.extended,
onSearch = null,
searchHintText = null,
onSearchMicrophoneIconPressed = null,
clearSemanticLabel = null,
microphoneSemanticLabel = null,
searchSemanticLabel = null,
searchBackSemanticLabel = null,
searchController = null;