Container(
decoration: BoxDecoration(
border: Border.all(color: Colors.green.shade100),
borderRadius: BorderRadius.circular(12),
),
padding: EdgeInsets.all(12),
child: Row(
children: const [ Text("Pay Now",
style: TextStyle(color: Colors.white),
),
Icon(
Icons.arrow_forward_ios,
size: 16,
color: Colors.white,
)
],
)
)
tried using gesture detector, onPressed
. all could not work
2
Answers
how about wrapping GestureDetector and onTap?
How about using InkWell? The difference with GestureDetector is it has ripple effects but it detects less type of gestures from user.