customAppBar constructor

const customAppBar(
  1. String title, {
  2. Key? key,
  3. List<Widget>? actions,
  4. Color? backgroundColor,
  5. BorderRadius? borderRadius,
  6. PreferredSizeWidget? bottom,
  7. void onPressedBack()?,
  8. bool showSearchButton = false,
  9. void onSearch(
    1. String
    )?,
  10. String? searchHintText,
})

Implementation

const customAppBar(
  this.title, {
  super.key,
  this.actions,
  this.backgroundColor,
  this.borderRadius,
  this.bottom,
  this.onPressedBack,
  this.showSearchButton = false,
  this.onSearch,
  this.searchHintText,
});