mirror of
https://github.com/flutter/samples.git
synced 2026-05-10 17:07:28 +00:00
[Gallery] Fix directory structure (#312)
This commit is contained in:
23
gallery/lib/constants.dart
Normal file
23
gallery/lib/constants.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
// Copyright 2019 The Flutter team. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Only put constants shared between files here.
|
||||
|
||||
// height of the 'Gallery' header
|
||||
const double galleryHeaderHeight = 64;
|
||||
|
||||
// The font size delta for display1 font.
|
||||
const double desktopDisplay1FontDelta = 16;
|
||||
|
||||
// The width of the settingsDesktop.
|
||||
const double desktopSettingsWidth = 520;
|
||||
|
||||
// Sentinel value for the system text scale factor option.
|
||||
const double systemTextScaleFactorOption = -1;
|
||||
|
||||
// The splash page animation duration.
|
||||
const splashPageAnimationDurationInMilliseconds = 300;
|
||||
|
||||
// The desktop top padding for a page's first header (e.g. Gallery, Settings)
|
||||
const firstHeaderDesktopTopPadding = 5.0;
|
||||
Reference in New Issue
Block a user