• amirh's avatar
    Use RRects instead of Paths when possible in Material. (#14404) · d9ef7df9
    amirh authored
    0672055a changed the Material widget to
    always use Paths for representing the outline.
    These paths are later used for clipping and drawing a shadow.
    This changed introduced a performance regression, see:
    https://github.com/flutter/flutter/issues/14403
    
    We did not expect a path that is a rounded rectangle to be less
    performant than a rounded rectangle, as Skia should be able to tell the
    path is just a rounded rectangle.
    Until we find a solution for this regression, we keep using RRect when
    we can represent the shape with it.
    d9ef7df9
Name
Last commit
Last update
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_repo.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...