ambil data stok bantuan
This commit is contained in:
@ -8,14 +8,13 @@ class NavigationButton extends StatelessWidget {
|
||||
final VoidCallback onPressed;
|
||||
|
||||
const NavigationButton({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.label,
|
||||
this.icon,
|
||||
this.iconWidget,
|
||||
required this.onPressed,
|
||||
}) : assert(icon != null || iconWidget != null,
|
||||
'Either icon or iconWidget must be provided'),
|
||||
super(key: key);
|
||||
}) : assert(icon != null || iconWidget != null,
|
||||
'Either icon or iconWidget must be provided');
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
@ -8,12 +8,12 @@ class StatisticCard extends StatelessWidget {
|
||||
final double height;
|
||||
|
||||
const StatisticCard({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.title,
|
||||
required this.count,
|
||||
required this.subtitle,
|
||||
required this.height,
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
Reference in New Issue
Block a user