constants.dart 895 Bytes
Newer Older
1 2 3 4
// 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.

5
/// The height of the tool bar component of the [AppBar].
6
const double kToolBarHeight = 56.0;
7

8
/// The height of a tab bar containing text.
9
const double kTextTabBarHeight = 48.0;
Adam Barth's avatar
Adam Barth committed
10

11
/// The amount of time theme change animations should last.
12
const Duration kThemeChangeDuration = const Duration(milliseconds: 200);
Adam Barth's avatar
Adam Barth committed
13

14 15
/// The radius of a circular material ink response in logical pixels.
const double kRadialReactionRadius = 24.0;
16

17
/// The amount of time a circular material ink response should take to expand to its full size.
18
const Duration kRadialReactionDuration = const Duration(milliseconds: 200);
19 20

/// The value of the alpha channel to use when drawing a circular material ink response.
21
const int kRadialReactionAlpha = 0x33;