FlutstrapNavbar constructor
const
FlutstrapNavbar({
- Key? key,
- Widget? brand,
- String? brandText,
- Widget? brandImage,
- required List<
FSNavbarItem> items, - List<
Widget> ? customItems, - FSNavbarVariant variant = FSNavbarVariant.light,
- FSNavbarPosition position = FSNavbarPosition.static,
- bool expand = false,
- String? searchPlaceholder,
- ValueChanged<
String> ? onSearch, - bool showSearch = false,
- Color? backgroundColor,
- Color? foregroundColor,
- double elevation = 0,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 16.0),
- bool fluid = false,
Implementation
const FlutstrapNavbar({
super.key,
this.brand,
this.brandText,
this.brandImage,
required this.items,
this.customItems,
this.variant = FSNavbarVariant.light,
this.position = FSNavbarPosition.static,
this.expand = false,
this.searchPlaceholder,
this.onSearch,
this.showSearch = false,
this.backgroundColor,
this.foregroundColor,
this.elevation = 0,
this.padding = const EdgeInsets.symmetric(horizontal: 16.0),
this.fluid = false,
});