IntroductionScreen constructor

const IntroductionScreen({
  1. Key? key,
  2. required List<String> images,
  3. required List<String> texts,
  4. required Color activeDotColor,
  5. required Color inactiveDotColor,
  6. required int itemCount,
  7. required bool isNetworkImage,
  8. String? confirmMessage,
  9. TextStyle? textStyle,
  10. EdgeInsets? imagePadding,
})

Implementation

const IntroductionScreen({
  Key? key,
  required this.images,
  required this.texts,
  required this.activeDotColor,
  required this.inactiveDotColor,
  required this.itemCount,
  required this.isNetworkImage,
  this.confirmMessage,
  this.textStyle,
  this.imagePadding,
})  : assert(itemCount == images.length && itemCount == texts.length),
      super(key: key);