NsgAppBar constructor

const NsgAppBar({
  1. Key? key,
  2. String text = '',
  3. String? text2,
  4. IconData? icon,
  5. IconData? icon2,
  6. IconData? icon3,
  7. VoidCallback? onPressed,
  8. VoidCallback? onPressed2,
  9. VoidCallback? onPressed3,
  10. int getNotificationCount()?,
  11. NsgDataController<NsgDataItem>? notificationController,
  12. NsgAppBarNotificationPosition notificationPosition = NsgAppBarNotificationPosition.leftIcon,
  13. bool? colorsInverted,
  14. bool? bottomCircular,
  15. Color? color,
  16. Color? backColor,
})

Implementation

const NsgAppBar({
  Key? key,
  this.text = '',
  this.text2,
  this.icon,
  this.icon2,
  this.icon3,
  this.onPressed,
  this.onPressed2,
  this.onPressed3,
  this.getNotificationCount,
  this.notificationController,
  this.notificationPosition = NsgAppBarNotificationPosition.leftIcon,
  this.colorsInverted,
  this.bottomCircular,
  this.color,
  this.backColor,
}) : super(key: key);