ZetaTopAppBar constructor

const ZetaTopAppBar({
  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. ZetaTopAppBarType type = ZetaTopAppBarType.defaultAppBar,
  9. double? titleSpacing,
})

Creates a ZetaTopAppBar.

Implementation

const ZetaTopAppBar({
  super.key,
  super.rounded,
  this.actions = const [],
  this.automaticallyImplyLeading = true,
  this.leading,
  this.title,
  this.titleTextStyle,
  this.type = ZetaTopAppBarType.defaultAppBar,
  this.titleSpacing,
})  : shrinks = false,
      onSearch = null,
      searchHintText = null,
      searchController = null,
      clearSemanticLabel = null,
      microphoneSemanticLabel = null,
      searchBackSemanticLabel = null,
      searchSemanticLabel = null,
      onSearchMicrophoneIconPressed = null;