mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
added fonts, fixed alignment, and responsivness for the web
This commit is contained in:
@ -18,15 +18,17 @@ class HomeCard extends StatelessWidget {
|
||||
});
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
bool evenNumbers = index % 2 == 0;
|
||||
// bool evenNumbers = index % 2 == 0;
|
||||
return InkWell(
|
||||
onTap: active ? onTap : null,
|
||||
child: Container(
|
||||
padding: const EdgeInsets.only(left: 10, right: 10, bottom: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: evenNumbers && active
|
||||
? ColorsManager.blueColor.withOpacity(0.8)
|
||||
: (active
|
||||
color:
|
||||
// evenNumbers && active
|
||||
// ? ColorsManager.blueColor.withOpacity(0.8)
|
||||
// :
|
||||
(active
|
||||
? ColorsManager.blueColor
|
||||
: ColorsManager.blueColor.withOpacity(0.2)),
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
|
Reference in New Issue
Block a user