AppBar constructor

const AppBar({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. List<Widget> actions = const [],
  5. bool centerTitle = false,
  6. double? titleSpacing,
  7. double? toolbarHeight,
  8. TextStyle? titleTextStyle,
  9. SystemUiOverlayStyle? systemOverlayStyle,
  10. Clip clipBehavior = Clip.hardEdge,
})

Implementation

const AppBar({
  super.key,
  this.leading,
  this.title,
  this.actions = const [],
  this.centerTitle = false,
  this.titleSpacing,
  this.toolbarHeight,
  this.titleTextStyle,
  this.systemOverlayStyle,
  this.clipBehavior = Clip.hardEdge,
});