| 1 | // Copyright 2014 The Flutter Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | /// @docImport 'package:flutter/cupertino.dart'; |
| 6 | library; |
| 7 | |
| 8 | /// The minimum dimension of any interactive region according to the Material |
| 9 | /// guidelines. |
| 10 | /// |
| 11 | /// This is used to avoid small regions that are hard for the user to interact |
| 12 | /// with. It applies to both dimensions of a region, so a square of size |
| 13 | /// kMinInteractiveDimension x kMinInteractiveDimension is the smallest |
| 14 | /// acceptable region that should respond to gestures. |
| 15 | /// |
| 16 | /// See also: |
| 17 | /// |
| 18 | /// * [kMinInteractiveDimensionCupertino] |
| 19 | const double kMinInteractiveDimension = 48.0; |
| 20 | |