From 60f5cbbad29803df3e146fe91a8aa04d87b8f86d Mon Sep 17 00:00:00 2001 From: Alexandre Ardhuin Date: Fri, 10 Feb 2017 00:17:45 +0100 Subject: [PATCH] no const contructor for GlobalKey (#8038) --- packages/flutter/lib/src/widgets/framework.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/widgets/framework.dart b/packages/flutter/lib/src/widgets/framework.dart index ff8b39ace50..816057ddd25 100644 --- a/packages/flutter/lib/src/widgets/framework.dart +++ b/packages/flutter/lib/src/widgets/framework.dart @@ -154,7 +154,7 @@ abstract class GlobalKey> extends Key { /// /// The label is purely for debugging and not used for comparing the identity /// of the key. - const factory GlobalKey({ String debugLabel }) = LabeledGlobalKey._; // the label is purely for debugging purposes and is otherwise ignored + factory GlobalKey({ String debugLabel }) = LabeledGlobalKey._; // the label is purely for debugging purposes and is otherwise ignored /// Creates a global key without a label. ///