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. double? titleSpacing,
})

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,
  this.titleSpacing,
})  : type = ZetaTopAppBarType.extended,
      onSearch = null,
      searchHintText = null,
      onSearchMicrophoneIconPressed = null,
      clearSemanticLabel = null,
      microphoneSemanticLabel = null,
      searchSemanticLabel = null,
      searchBackSemanticLabel = null,
      searchController = null;