I'm making simple custom Text button
SizedBox(
height: 40,
child: Material(
color: Colors.transparent,
child: InkWell(
onTap: (){},
splashColor: Colors.black12,
child: Center(
child: Text(
'Done',
style: TextStyle(
fontSize: 18, color: Colors.white, fontWeight: FontWeight.w500),
),
),
),
),
)
Now this works great however the effect on onTap event is around the text
How to make that effect to be on the text font only or if that is not possible change color of the text on tapped down and change it back on release
