NUIToolbar constructor

NUIToolbar({
  1. required Widget content,
  2. Color backgroundColor = NUIColors.NUIWhite,
  3. double buttonSize = 36,
  4. Alignment titleGravity = Alignment.centerLeft,
  5. double titlePadding = 10,
  6. BoxDecoration? decoration,
  7. double toolbarHeight = 48,
  8. Widget? leftButton,
  9. List<Widget>? rightButton,
  10. Key? key,
})

Implementation

NUIToolbar({
  required this.content,
  this.backgroundColor = NUIColors.NUIWhite,
  this.buttonSize = 36,
  this.titleGravity = Alignment.centerLeft,
  this.titlePadding = 10,
  this.decoration,
  this.toolbarHeight = 48,
  this.leftButton,
  this.rightButton,
  Key? key
}) : super(key: key);