Navbar constructor

const Navbar({
  1. Key? key,
  2. String title = '',
  3. List<Widget> actions = const [],
  4. Color? backgroundColor,
  5. Color? foregroundColor,
  6. double height = 56,
})

Creates a Navbar widget.

The title parameter is required. All other parameters are optional and will use theme defaults if not provided.

Implementation

const Navbar({
  super.key,
  this.title = '',
  this.actions = const [],
  this.backgroundColor,
  this.foregroundColor,
  this.height = 56,
});