File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ import 'package:flutter/src/material/theme.dart';
23
23
// ignore: implementation_imports
24
24
import 'package:flutter/src/material/theme_data.dart' ;
25
25
26
+ // Duration of the animation that moves the toggle from one state to another.
27
+ const Duration _kToggleDuration = Duration (milliseconds: 200 );
28
+
29
+ // Duration of the fade animation for the reaction when focus and hover occur.
30
+ const Duration _kReactionFadeDuration = Duration (milliseconds: 50 );
31
+
26
32
/// A material design checkbox.
27
33
///
28
34
/// The checkbox itself does not maintain any state. Instead, when the state of
@@ -774,16 +780,6 @@ class _RenderCheckbox extends RenderToggleable {
774
780
}
775
781
}
776
782
777
- // Copyright 2014 The Flutter Authors. All rights reserved.
778
- // Use of this source code is governed by a BSD-style license that can be
779
- // found in the LICENSE file.
780
-
781
- // Duration of the animation that moves the toggle from one state to another.
782
- const Duration _kToggleDuration = Duration (milliseconds: 200 );
783
-
784
- // Duration of the fade animation for the reaction when focus and hover occur.
785
- const Duration _kReactionFadeDuration = Duration (milliseconds: 50 );
786
-
787
783
/// A base class for material style toggleable controls with toggle animations.
788
784
///
789
785
/// This class handles storing the current value, dispatching ValueChanged on a
You can’t perform that action at this time.
0 commit comments