Unverified Commit 6b32482b authored by Denis Grafov's avatar Denis Grafov Committed by GitHub

Make kMaterialEdges const (#87329)

parent 5429afd4
......@@ -54,11 +54,11 @@ enum MaterialType {
///
/// * [MaterialType]
/// * [Material]
final Map<MaterialType, BorderRadius?> kMaterialEdges = <MaterialType, BorderRadius?>{
const Map<MaterialType, BorderRadius?> kMaterialEdges = <MaterialType, BorderRadius?>{
MaterialType.canvas: null,
MaterialType.card: BorderRadius.circular(2.0),
MaterialType.card: BorderRadius.all(Radius.circular(2.0)),
MaterialType.circle: null,
MaterialType.button: BorderRadius.circular(2.0),
MaterialType.button: BorderRadius.all(Radius.circular(2.0)),
MaterialType.transparency: null,
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment