Adding interactions

merge-requests/27/head
FaizHashmiCS22 3 years ago
parent 60e7b5a2a0
commit 70eceaf648

@ -156,9 +156,8 @@ class AnswerContent extends StatelessWidget {
children: <Widget>[ children: <Widget>[
InkWell( InkWell(
onTap: () { onTap: () {
provider.cancelTimer();
provider.swiperController.swipeLeft(); provider.swiperController.swipeLeft();
provider.startTimer(context);
}, },
child: Container( child: Container(
height: 60, height: 60,
@ -180,8 +179,8 @@ class AnswerContent extends StatelessWidget {
const SizedBox(height: 15), const SizedBox(height: 15),
InkWell( InkWell(
onTap: () { onTap: () {
provider.cancelTimer();
provider.swiperController.swipeLeft(); provider.swiperController.swipeLeft();
provider.startTimer(context);
}, },
child: Container( child: Container(
height: 60, height: 60,
@ -203,8 +202,8 @@ class AnswerContent extends StatelessWidget {
const SizedBox(height: 15), const SizedBox(height: 15),
InkWell( InkWell(
onTap: () { onTap: () {
provider.cancelTimer();
provider.swiperController.swipeLeft(); provider.swiperController.swipeLeft();
provider.startTimer(context);
}, },
child: Container( child: Container(
height: 60, height: 60,
@ -225,7 +224,10 @@ class AnswerContent extends StatelessWidget {
), ),
const SizedBox(height: 15), const SizedBox(height: 15),
InkWell( InkWell(
onTap: () {}, onTap: () {
provider.cancelTimer();
provider.swiperController.swipeLeft();
},
child: Container( child: Container(
height: 60, height: 60,
width: MediaQuery.of(context).size.width - 75, width: MediaQuery.of(context).size.width - 75,

Loading…
Cancel
Save