fix : add text to bottom sheet
This commit is contained in:
@@ -100,7 +100,7 @@ class _WaveBottomNavigationState extends State<WaveBottomNavigation> {
|
||||
value = (value).clamp(-1, 1);
|
||||
double offset = value * 30;
|
||||
if (value.abs() < 0.2 || value.abs() > 0.2) {
|
||||
offset = -7 * (1 - value.abs() * 2);
|
||||
offset = -15 * (1 - value.abs() * 2);
|
||||
}
|
||||
|
||||
return Transform.scale(
|
||||
@@ -110,14 +110,10 @@ class _WaveBottomNavigationState extends State<WaveBottomNavigation> {
|
||||
child: Column(
|
||||
children: [
|
||||
Tooltip(message: item.title, child: item.icon),
|
||||
|
||||
/* Visibility(
|
||||
Visibility(
|
||||
visible: (_controller.page ?? 0) == index,
|
||||
child: Text(
|
||||
item.title,
|
||||
style: AppFonts.yekan10.copyWith(color: Colors.white),
|
||||
),
|
||||
),*/
|
||||
child: Text(item.title, style: AppFonts.yekan10.copyWith(color: Colors.white)),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user