-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
Revision NeededEdit existing codeEdit existing code
Description
In your example when you remove the ink it still has the same behavior.
a better example would be the one from the docs
Material(
color: Colors.teal[900],
child: Center(
child: Ink(
color: Colors.yellow,
width: 200.0,
height: 100.0,
child: InkWell(
onTap: () { /* ... */ },
child: Center(
child: Text('YELLOW'),
)
),
),
),
)
``
vs
Material(
color: Colors.teal[900],
child: Center(
child: Container(
color: Colors.yellow,
width: 200.0,
height: 100.0,
child: InkWell(
onTap: () { /* ... */ },
child: Center(
child: Text('YELLOW'),
)
),
),
),
)
and the image example.
Metadata
Metadata
Assignees
Labels
Revision NeededEdit existing codeEdit existing code