InformationTile constructor
const
InformationTile(- {Key? key,
- required String title,
- required String description,
- FontWeight titleFontWeight = FontWeight.normal,
- FontWeight descriptionFontWeight = FontWeight.normal,
- double titleFontSize = 1.75,
- double descriptionFontSize = 1.75,
- double topPadding = 0.5,
- 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);