
This patch contains a first draft of an iOS-style switch. We'll likely need to tweak the constants upon closer study, but the basics are here.
11 lines
345 B
Dart
11 lines
345 B
Dart
// Copyright 2017 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
/// Flutter widgets implementing the current iOS design language.
|
|
///
|
|
/// To use, import `package:flutter/cupertino.dart`.
|
|
library cupertino;
|
|
|
|
export 'src/cupertino/switch.dart';
|