mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() Currently, `Switch.factory` delegates to `CupertinoSwitch` when platform is iOS or macOS. This PR is to: * have the factory configure the Material `Switch` for the expected look and feel. * introduce `Adaptation` class to customize themes for the adaptive components. |
||
---|---|---|
.. | ||
switch.0.dart | ||
switch.1.dart | ||
switch.2.dart | ||
switch.3.dart | ||
switch.4.dart |