mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This CL lets Sky apps draw behind the Android status bar, better matching the material design spec. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1010493007
14 lines
537 B
Dart
14 lines
537 B
Dart
// Copyright 2015 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.
|
|
|
|
// Modeled after Android's ViewConfiguration:
|
|
// https://github.com/android/platform_frameworks_base/blob/master/core/java/android/view/ViewConfiguration.java
|
|
|
|
const int kMaxFlingVelocity = 8000;
|
|
const int kMinFlingVelocity = 50;
|
|
const int kScrollbarFadeDelay = 300;
|
|
const int kScrollbarFadeDuration = 250;
|
|
const int kScrollbarSize = 10;
|
|
const int kStatusBarHeight = 25;
|