mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Turns out scrollbars are very inconsistent throughout Android apps. R=abarth@chromium.org Review URL: https://codereview.chromium.org/955653005
11 lines
434 B
Dart
11 lines
434 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 kScrollbarSize = 10;
|
|
const int kScrollbarFadeDelay = 300;
|
|
const int kScrollbarFadeDuration = 250;
|