ZeroAppBar constructor

ZeroAppBar({
  1. Key? key,
  2. ZeroAppBarSize size = ZeroAppBarSize.small,
  3. bool automaticallyImplyLeading = true,
  4. Widget? title,
  5. Widget? leading,
  6. List<Widget>? actions,
  7. PreferredSizeWidget? bottom,
  8. ZeroAppBarStyle? style,
})

Implementation

ZeroAppBar({
  super.key,
  this.size = ZeroAppBarSize.small,
  this.automaticallyImplyLeading = true,
  this.title,
  this.leading,
  this.actions,
  this.bottom,
  this.style,
}) : preferredSize = _PreferredAppBarSize(
          style?.height ?? size.getSize, bottom?.preferredSize.height);