|
|
|
@ -10,6 +10,7 @@ class HomePatientCard extends StatelessWidget {
|
|
|
|
final String text;
|
|
|
|
final String text;
|
|
|
|
final Color textColor;
|
|
|
|
final Color textColor;
|
|
|
|
final Function onTap;
|
|
|
|
final Function onTap;
|
|
|
|
|
|
|
|
final double iconSize;
|
|
|
|
|
|
|
|
|
|
|
|
HomePatientCard({
|
|
|
|
HomePatientCard({
|
|
|
|
@required this.backgroundColor,
|
|
|
|
@required this.backgroundColor,
|
|
|
|
@ -18,6 +19,7 @@ class HomePatientCard extends StatelessWidget {
|
|
|
|
@required this.text,
|
|
|
|
@required this.text,
|
|
|
|
@required this.textColor,
|
|
|
|
@required this.textColor,
|
|
|
|
@required this.onTap,
|
|
|
|
@required this.onTap,
|
|
|
|
|
|
|
|
this.iconSize = 30,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
@ -41,7 +43,7 @@ class HomePatientCard extends StatelessWidget {
|
|
|
|
height: 25.0,
|
|
|
|
height: 25.0,
|
|
|
|
child: Icon(
|
|
|
|
child: Icon(
|
|
|
|
cardIcon,
|
|
|
|
cardIcon,
|
|
|
|
size: 60,
|
|
|
|
size: iconSize * 2,
|
|
|
|
color: backgroundIconColor,
|
|
|
|
color: backgroundIconColor,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -52,7 +54,7 @@ class HomePatientCard extends StatelessWidget {
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Icon(
|
|
|
|
Icon(
|
|
|
|
cardIcon,
|
|
|
|
cardIcon,
|
|
|
|
size: 30,
|
|
|
|
size: iconSize,
|
|
|
|
color: textColor,
|
|
|
|
color: textColor,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
|