OnbordingData constructor

const OnbordingData({
  1. Key? key,
  2. required ImageProvider<Object> image,
  3. required Widget titleText,
  4. required Widget descText,
  5. double? imageHeight,
  6. double? imageWidth,
  7. BoxFit? fit,
  8. EdgeInsetsGeometry? titlePadding,
  9. EdgeInsetsGeometry? descPadding,
})

Implementation

const OnbordingData({
  Key? key,
  required this.image,
  required this.titleText,
  required this.descText,
  this.imageHeight,
  this.imageWidth,
  this.fit,
  this.titlePadding,
  this.descPadding,
}) : super(key: key);