mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove unused material edge definition
The one we actually use is in material.dart.
This commit is contained in:
parent
b7436de274
commit
e839883ecd
@ -20,7 +20,6 @@ export 'src/material/drawer_divider.dart';
|
||||
export 'src/material/drawer_header.dart';
|
||||
export 'src/material/drawer_item.dart';
|
||||
export 'src/material/dropdown.dart';
|
||||
export 'src/material/edges.dart';
|
||||
export 'src/material/flat_button.dart';
|
||||
export 'src/material/floating_action_button.dart';
|
||||
export 'src/material/icon.dart';
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
// 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 }
|
||||
|
||||
// This map gives the border radii for each type of material.
|
||||
const Map<MaterialEdge, double> edges = const <MaterialEdge, double>{
|
||||
MaterialEdge.canvas: null,
|
||||
MaterialEdge.card: 2.0,
|
||||
MaterialEdge.circle: null,
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user