Introduction constructor

const Introduction({
  1. Key? key,
  2. required String imageUrl,
  3. required String title,
  4. required String subTitle,
  5. TextStyle titleTextStyle = const TextStyle(fontSize: 30),
  6. TextStyle subTitleTextStyle = const TextStyle(fontSize: 20),
  7. double? imageWidth = 360,
  8. double? imageHeight = 360,
})

Implementation

const Introduction({
  super.key,
  required this.imageUrl,
  required this.title,
  required this.subTitle,
  this.titleTextStyle = const TextStyle(fontSize: 30),
  this.subTitleTextStyle = const TextStyle(fontSize: 20),
  this.imageWidth = 360,
  this.imageHeight = 360,
});