• Alexandre Ardhuin's avatar
    Reland "Nnbd widgets" (#65528) · b007a81a
    Alexandre Ardhuin authored
    * Reland "Nnbd widgets (#64672)"
    
    This reverts commit 127e6790.
    
    * remove non-nullable enforcement on AsyncSnapshot
    
    * make data param non-nullable for AsyncSnapshot.withData
    
    * make some Text params non-nullable
    b007a81a
constants.dart 653 Bytes
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/// The minimum dimension of any interactive region according to the Material
/// guidelines.
///
/// This is used to avoid small regions that are hard for the user to interact
/// with. It applies to both dimensions of a region, so a square of size
/// kMinInteractiveDimension x kMinInteractiveDimension is the smallest
/// acceptable region that should respond to gestures.
///
/// See also:
///
///  * [kMinInteractiveDimensionCupertino]
const double kMinInteractiveDimension = 48.0;