mapEntryToWidget method
List<Widget>
mapEntryToWidget(
- BuildContext context, {
- required String heading,
- required String subheading,
- bool isLastElement = false,
Implementation
List<Widget> mapEntryToWidget(BuildContext context,
{required String heading,
required String subheading,
bool isLastElement = false}) {
return [
_buildInfoWithHeading(
context,
heading: heading,
info: subheading,
),
if (!isLastElement) const SizedBox(height: 32),
];
}