Introduction constructor

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

Implementation

Introduction({
  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,
});