Skip to content

Commit f5c17a6

Browse files
author
MritunjayTiwari14
committed
poll: Add ink widget inplace of container
Introduces Ink Widget Inplace of Container Widget to make Ink Splash visible over Container Widget Decoration. Fixes: #1808
1 parent 040482c commit f5c17a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/poll.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class _PollWidgetState extends State<PollWidget> {
100100
color: Colors.transparent,
101101
child: InkWell(
102102
onTap: () => _toggleVote(option),
103-
child: Container(
103+
child: Ink(
104104
// Inner padding preserves whitespace even when the text's
105105
// width approaches the button's min-width (e.g. because
106106
// there are more than three digits).

0 commit comments

Comments
 (0)