mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This changes Switch from being a subclass of the Toggleable widget to being a standalone Component with a custom RenderObject. This is to enable adding Switch-specific radial reaction animations in a subsequent patch. The CustomPaint logic that Toggleable was using does not provide a nice way for a class and its subclass to both participate in deciding to repaint.
Sky
For information about using the latest stable release of Sky, please see the package/sky/ directory.
For more information about the Sky framework, see the package/sky/lib/ directory.
For details about the internals of Sky's engine, see the engine/ directory.
For information about contributing to Sky, please see CONTRIBUTING.md.