ZeroAppBar constructor
ZeroAppBar({
- Key? key,
- ZeroAppBarSize size = ZeroAppBarSize.small,
- bool automaticallyImplyLeading = true,
- Widget? title,
- Widget? leading,
- List<
Widget> ? actions, - PreferredSizeWidget? bottom,
- 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);