Created
March 26, 2019 14:31
-
-
Save BurningDroid/ef680fcc3bf21448249fccec0ac79e5b to your computer and use it in GitHub Desktop.
Flutter Splash/Ripple effect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Widget _buildItem(Item item) { | |
return InkWell( | |
child: Container( | |
decoration: BoxDecoration( | |
border: Border.all( | |
color: Colors.green, | |
), | |
borderRadius: BorderRadius.circular(8), | |
), | |
child: Padding( | |
padding: EdgeInsets.all(16), | |
child: Text(task.name), | |
), | |
), | |
onTap: () { | |
}, | |
), | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment