• Qun Cheng's avatar
    Adaptive `Switch` (#130425) · ed70f4e2
    Qun Cheng authored
    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.
    ed70f4e2
theme_data_test.dart 69.3 KB