Navbar constructor
const
Navbar({
- Key? key,
- required String title,
- List<
Widget> ? actions, - Widget? leading,
- bool automaticallyImplyLeading = true,
- NavbarStyle style = NavbarStyle.standard,
- Color? backgroundColor,
- Color? iconColor,
- Color? titleColor,
- double? elevation,
- Widget? flexibleSpace,
- TextStyle? titleStyle,
- bool centerTitle = true,
- double? titleSpacing,
- double height = kToolbarHeight,
- Widget? bottom,
Implementation
const Navbar({
Key? key,
required this.title,
this.actions,
this.leading,
this.automaticallyImplyLeading = true,
this.style = NavbarStyle.standard,
this.backgroundColor,
this.iconColor,
this.titleColor,
this.elevation,
this.flexibleSpace,
this.titleStyle,
this.centerTitle = true,
this.titleSpacing,
this.height = kToolbarHeight,
this.bottom,
}) : super(key: key);