diff --git a/firka/lib/ui/phone/widgets/bottom_nav_icon.dart b/firka/lib/ui/phone/widgets/bottom_nav_icon.dart index f6d4f2d9..abc6ebae 100644 --- a/firka/lib/ui/phone/widgets/bottom_nav_icon.dart +++ b/firka/lib/ui/phone/widgets/bottom_nav_icon.dart @@ -6,15 +6,15 @@ import '../../model/style.dart'; import '../../widget/firka_icon.dart'; class BottomNavIcon extends StatelessWidget { - void Function() onTap; - bool active; - Uint8List icon; - String text; - Color iconColor; - Color textColor; + final void Function() onTap; + final bool active; + final Uint8List icon; + final String text; + final Color iconColor; + final Color textColor; - BottomNavIcon(this.onTap, this.active, this.icon, this.text, this.iconColor, - this.textColor, + const BottomNavIcon(this.onTap, this.active, this.icon, this.text, + this.iconColor, this.textColor, {super.key}); @override