comprehensive cases

This commit is contained in:
2026-03-17 15:21:06 +05:30
parent e3d8d30b1b
commit 68b0055cfe
30 changed files with 1285 additions and 227 deletions

View File

@@ -123,26 +123,30 @@ class StaffMainBottomBar extends StatelessWidget {
final bool isSelected = currentIndex == item.index;
return Expanded(
child: GestureDetector(
onTap: () => onTap(item.index),
behavior: HitTestBehavior.opaque,
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.end,
children: <Widget>[
Icon(
item.icon,
color: isSelected ? activeColor : inactiveColor,
size: UiConstants.iconLg,
),
const SizedBox(height: UiConstants.space1),
Text(
item.label,
style: UiTypography.footnote2m.copyWith(
child: Semantics(
identifier: 'nav_${item.tabKey}',
label: item.label,
child: GestureDetector(
onTap: () => onTap(item.index),
behavior: HitTestBehavior.opaque,
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.end,
children: <Widget>[
Icon(
item.icon,
color: isSelected ? activeColor : inactiveColor,
size: UiConstants.iconLg,
),
),
],
const SizedBox(height: UiConstants.space1),
Text(
item.label,
style: UiTypography.footnote2m.copyWith(
color: isSelected ? activeColor : inactiveColor,
),
),
],
),
),
),
);