simpleTextWidget function
simpleTextWidget is a place-holder Widget that can be replaced with
topCardWidget
& bottomCardWidget
.
Implementation
Widget simpleTextWidget(String text) {
return Center(
child: Text(text,
style: TextStyle(
color: Colors.white, fontSize: 12, fontWeight: FontWeight.w500),
textScaleFactor: 1),
);
}