flutter/packages
amirh 0672055a72
Support arbitrary shaped Material. (#14367)
For backward compatibility we keep supporting specifying the shape as a
combination of MaterialType and borderRadius, and we just use that as a
default when shapeBorder is null.

To cleanup the implementation if shapeBorder was not specified we just
translate the specified shape to a shapeBorder internally.
I benchmarked paint, layout and hit testing, with the specialized shape
clippers vs. the equivalent path clippers and did not see any
significant performance difference.

For testing, I extended the clippers/physicalShape matchers to match either the
specialized shape or the equivalent shape.
2018-01-30 23:24:42 -08:00
..
flutter Support arbitrary shaped Material. (#14367) 2018-01-30 23:24:42 -08:00
flutter_driver Unpin test and upgrade packages (#14282) 2018-01-26 10:40:03 -08:00
flutter_localizations Unpin test and upgrade packages (#14282) 2018-01-26 10:40:03 -08:00
flutter_test Support arbitrary shaped Material. (#14367) 2018-01-30 23:24:42 -08:00
flutter_tools Fix various strong mode issues. (#14284) 2018-01-31 08:21:32 +01:00