flutter_flutter/framework/theme/view-configuration.dart
Adam Barth be7eb7fbfa Make the status bar translucent
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
2015-03-16 11:14:04 -07:00

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;