ZetaTopAppBar.extended constructor

const ZetaTopAppBar.extended({
  1. Key? key,
  2. bool? rounded,
  3. List<Widget> actions = const [],
  4. bool automaticallyImplyLeading = true,
  5. Widget? leading,
  6. Widget? title,
  7. TextStyle? titleTextStyle,
  8. bool shrinks = true,
  9. @Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') ValueChanged<String>? onSearch,
  10. @Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') String? searchHintText,
  11. @Deprecated('Use ZetaTopAppBar.search instead. ' 'Deprecated as of 0.16.0') ZetaSearchController? searchController,
  12. @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;