InformationTile constructor

const InformationTile(
  1. {Key? key,
  2. required String title,
  3. required String description,
  4. FontWeight titleFontWeight = FontWeight.normal,
  5. FontWeight descriptionFontWeight = FontWeight.normal,
  6. double titleFontSize = 1.75,
  7. double descriptionFontSize = 1.75,
  8. double topPadding = 0.5,
  9. double bottomPadding = 0.5}
)

Implementation

const InformationTile({
  Key? key,
  required this.title,
  required this.description,
  this.titleFontWeight = FontWeight.normal,
  this.descriptionFontWeight = FontWeight.normal,
  this.titleFontSize = 1.75,
  this.descriptionFontSize = 1.75,
  this.topPadding = 0.5,
  this.bottomPadding = 0.5,
}) : super(key: key);