enable swipe to last tool
This commit is contained in:
@@ -287,7 +287,7 @@ class _PatientViewState extends State<PatientView> {
|
|||||||
checkScreenSize();
|
checkScreenSize();
|
||||||
return SwipeDetector(
|
return SwipeDetector(
|
||||||
onSwipeLeft: (offset) {
|
onSwipeLeft: (offset) {
|
||||||
if (_selectedIndex < 2) {
|
if (_selectedIndex < 3) {
|
||||||
setState(() {
|
setState(() {
|
||||||
_selectedIndex += 1;
|
_selectedIndex += 1;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user