ZetaTopAppBar constructor

const ZetaTopAppBar({
  1. Key? key,
  2. bool? rounded,
  3. List<Widget>? actions,
  4. bool automaticallyImplyLeading = true,
  5. ZetaSearchController? searchController,
  6. Widget? leading,
  7. Widget? title,
  8. TextStyle? titleTextStyle,
  9. ZetaTopAppBarType type = ZetaTopAppBarType.defaultAppBar,
  10. void onSearch(
    1. String
    )?,
  11. String? searchHintText = 'Search',
  12. 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;