Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Widget drawIcon(IconData icon, size) {
- return Material(
- color: Colors.lightBlue,
- shape: CircleBorder(),
- shadowColor: Colors.black,
- elevation: 20,
- child: Ink(
- width: size,
- height: size,
- decoration: const ShapeDecoration(
- color: Colors.white,
- shape: CircleBorder(),
- ),
- child: IconButton(
- padding: EdgeInsets.all(0),
- iconSize: 22,
- icon: Icon(icon),
- color: Colors.black,
- onPressed: onTap,
- ),
- ),
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement