constants.dart 988 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 6
/// The height of the toolbar component of the [AppBar].
const double kToolbarHeight = 56.0;
7

8 9 10
/// The height of the bottom navigation bar.
const double kBottomNavigationBarHeight = 60.0;

11
/// The height of a tab bar containing text.
12
const double kTextTabBarHeight = 48.0;
Adam Barth's avatar
Adam Barth committed
13

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

17 18
/// The radius of a circular material ink response in logical pixels.
const double kRadialReactionRadius = 24.0;
19

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

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