ZetaTopAppBar constructor

const ZetaTopAppBar(
  1. {List<Widget>? actions,
  2. bool automaticallyImplyLeading = true,
  3. AppBarSearchController? searchController,
  4. Widget? leading,
  5. Widget? title,
  6. TextStyle? titleTextStyle,
  7. ZetaTopAppBarType type = ZetaTopAppBarType.defaultAppBar,
  8. void onSearch(
    1. String
    )?,
  9. String? searchHintText = 'Search',
  10. VoidCallback? onSearchMicrophoneIconPressed,
  11. Key? key}
)

Creates a ZetaTopAppBar.

Implementation

const ZetaTopAppBar({
  this.actions,
  this.automaticallyImplyLeading = true,
  this.searchController,
  this.leading,
  this.title,
  this.titleTextStyle,
  this.type = ZetaTopAppBarType.defaultAppBar,
  this.onSearch,
  this.searchHintText = 'Search',
  this.onSearchMicrophoneIconPressed,
  super.key,
}) : shrinks = false;