chnages has been made
This commit is contained in:
@@ -26,16 +26,11 @@ class Floatingnavbar extends StatelessWidget {
|
||||
final bottomPadding = MediaQuery.of(context).padding.bottom;
|
||||
|
||||
return ClipRRect(
|
||||
|
||||
borderRadius: BorderRadius.circular(45),
|
||||
|
||||
child: BackdropFilter(
|
||||
|
||||
filter: ImageFilter.blur(
|
||||
sigmaX: 100,
|
||||
sigmaY: 35,
|
||||
|
||||
),
|
||||
|
||||
child: Container(
|
||||
color: Colors.transparent,
|
||||
child: Container(
|
||||
height: 70,
|
||||
margin: EdgeInsets.only(
|
||||
@@ -52,17 +47,18 @@ class Floatingnavbar extends StatelessWidget {
|
||||
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||
children: items.asMap().entries.map((entry) {
|
||||
final index = entry.key;
|
||||
final item = entry.value;
|
||||
final isSelected = selectedIndex == index;
|
||||
children:
|
||||
items.asMap().entries.map((entry) {
|
||||
final index = entry.key;
|
||||
final item = entry.value;
|
||||
final isSelected = selectedIndex == index;
|
||||
|
||||
return _NavBarItemTile(
|
||||
item: item,
|
||||
isSelected: isSelected,
|
||||
onTap: () => onTap(index),
|
||||
);
|
||||
}).toList(),
|
||||
return _NavBarItemTile(
|
||||
item: item,
|
||||
isSelected: isSelected,
|
||||
onTap: () => onTap(index),
|
||||
);
|
||||
}).toList(),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -4,22 +4,14 @@ class GradientLine extends StatelessWidget {
|
||||
final Color start;
|
||||
final Color end;
|
||||
|
||||
const GradientLine({
|
||||
super.key,
|
||||
required this.start,
|
||||
required this.end,
|
||||
});
|
||||
const GradientLine({super.key, required this.start, required this.end});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
height: 2,
|
||||
margin: const EdgeInsets.symmetric(horizontal: 5),
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
colors: [start, end],
|
||||
),
|
||||
),
|
||||
|
||||
decoration: BoxDecoration(gradient: LinearGradient(colors: [start, end])),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ class WorkDayCard extends StatelessWidget {
|
||||
|
||||
/// 🔥 FIXED: CENTERED LINES BETWEEN CIRCLES
|
||||
Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
_StatusItem(
|
||||
color: const Color(0xFFD16400),
|
||||
@@ -125,7 +126,11 @@ class _StatusItem extends StatelessWidget {
|
||||
children: [
|
||||
StatusCircle(color: color, icon: icon),
|
||||
// const SizedBox(height: 3),
|
||||
Text(label, textAlign: TextAlign.center, style: const TextStyle(fontSize: 12)),
|
||||
Text(
|
||||
label,
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(fontSize: 12),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user