BoardingItem constructor

const BoardingItem({
  1. Key? key,
  2. required String message,
  3. Widget icon = const SizedBox.shrink(),
  4. Color foregroundColor = Colors.white,
  5. TextStyle? textStyle,
})

Implementation

const BoardingItem({
  Key? key,
  required this.message,
  this.icon = const SizedBox.shrink(),
  this.foregroundColor = Colors.white,
  this.textStyle,
}) : super(key: key);