Skip to content

Inkwell Shape Differ from Parent Material Shape in ButtonStyleButton #91844

@MateusAmin

Description

@MateusAmin

The shape the Inkwell widget takes differs from its parent Material widget leading to ink splashes that do not accurately follow the border.

This PR fixes the problem for my use case: #91849

Steps to Reproduce

https://github.com/MateusAmin/flutter-issues-91844

Expected results:
The splash should fill the shape of both buttons.

Actual results:
The splash does not fill the shape of the ButtonStyleButton

Workaround

Bump up border size to cover up the misalignment or use my changes: #91849

Metadata

Metadata

Assignees

Labels

f: material designflutter/packages/flutter/material repository.found in release: 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions