NsgLightAppBar constructor

const NsgLightAppBar({
  1. Key? key,
  2. String title = 'Заголовок',
  3. List<NsgLigthAppBarIcon> leftIcons = const [],
  4. List<NsgLigthAppBarIcon> rightIcons = const [],
  5. List<NsgLigthAppBarIcon> centerIcons = const [],
  6. NsgLigthAppBarStyle style = const NsgLigthAppBarStyle(),
  7. void onTap()?,
  8. EdgeInsets? padding,
  9. EdgeInsets centerIconPadding = const EdgeInsets.only(right: 0, left: 0),
})

Implementation

const NsgLightAppBar({
  super.key,
  this.title = 'Заголовок',
  this.leftIcons = const [],
  this.rightIcons = const [],
  this.centerIcons = const [],
  this.style = const NsgLigthAppBarStyle(),
  this.onTap,
  this.padding,
  this.centerIconPadding = const EdgeInsets.only(right: 0, left: 0),
});