edges.dart 407 Bytes
Newer Older
1 2 3 4 5 6
// 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.

enum MaterialEdge { canvas, card, circle }

7
// This map gives the border radii for each type of material.
8 9 10 11 12
const Map<MaterialEdge, double> edges = const {
  MaterialEdge.canvas: null,
  MaterialEdge.card: 2.0,
  MaterialEdge.circle: null,
};