|
|
@ -30,7 +30,8 @@ class MeetingView extends GetView<MeetingController> { |
|
|
child: const FiltrateDrawer(), |
|
|
child: const FiltrateDrawer(), |
|
|
), |
|
|
), |
|
|
drawerEnableOpenDragGesture: false, |
|
|
drawerEnableOpenDragGesture: false, |
|
|
bottomNavigationBar: Stack( |
|
|
bottomNavigationBar: controller.type == 0 |
|
|
|
|
|
? Stack( |
|
|
alignment: Alignment.center, |
|
|
alignment: Alignment.center, |
|
|
clipBehavior: Clip.none, |
|
|
clipBehavior: Clip.none, |
|
|
children: [ |
|
|
children: [ |
|
|
@ -60,7 +61,8 @@ class MeetingView extends GetView<MeetingController> { |
|
|
unselectedFontSize: 10.sp, |
|
|
unselectedFontSize: 10.sp, |
|
|
selectedFontSize: 10.sp, |
|
|
selectedFontSize: 10.sp, |
|
|
onTap: (int index) { |
|
|
onTap: (int index) { |
|
|
if (index == 1 || index == controller.pageIndex.value) return; |
|
|
if (index == 1 || index == controller.pageIndex.value) |
|
|
|
|
|
return; |
|
|
if (index == 0) { |
|
|
if (index == 0) { |
|
|
controller.pageIndex.value = 0; |
|
|
controller.pageIndex.value = 0; |
|
|
controller.pageController.jumpToPage(0); |
|
|
controller.pageController.jumpToPage(0); |
|
|
@ -89,7 +91,8 @@ class MeetingView extends GetView<MeetingController> { |
|
|
padding: EdgeInsets.all(5.w), |
|
|
padding: EdgeInsets.all(5.w), |
|
|
alignment: Alignment.center, |
|
|
alignment: Alignment.center, |
|
|
decoration: BoxDecoration( |
|
|
decoration: BoxDecoration( |
|
|
color: isDarkMode ? const Color(0xFF1A1A1A) : Colors.white, |
|
|
color: |
|
|
|
|
|
isDarkMode ? const Color(0xFF1A1A1A) : Colors.white, |
|
|
borderRadius: BorderRadius.circular(60.w), |
|
|
borderRadius: BorderRadius.circular(60.w), |
|
|
boxShadow: [ |
|
|
boxShadow: [ |
|
|
BoxShadow( |
|
|
BoxShadow( |
|
|
@ -116,7 +119,8 @@ class MeetingView extends GetView<MeetingController> { |
|
|
), |
|
|
), |
|
|
), |
|
|
), |
|
|
], |
|
|
], |
|
|
), |
|
|
) |
|
|
|
|
|
: null, |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|