Skip to content

Commit d541e49

Browse files
committed
🔥 Remove duplicate license
1 parent 70f226d commit d541e49

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

lib/src/widget/custom_checkbox.dart

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ import 'package:flutter/src/material/theme.dart';
2323
// ignore: implementation_imports
2424
import 'package:flutter/src/material/theme_data.dart';
2525

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+
2632
/// A material design checkbox.
2733
///
2834
/// The checkbox itself does not maintain any state. Instead, when the state of
@@ -774,16 +780,6 @@ class _RenderCheckbox extends RenderToggleable {
774780
}
775781
}
776782

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-
787783
/// A base class for material style toggleable controls with toggle animations.
788784
///
789785
/// This class handles storing the current value, dispatching ValueChanged on a

0 commit comments

Comments
 (0)