We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96fc607 commit f6a3eb9Copy full SHA for f6a3eb9
lib/web_ui/lib/src/engine/text/measurement.dart
@@ -184,7 +184,7 @@ abstract class TextMeasurementService {
184
///
185
/// This is only used for testing at the moment. Once the implementation is
186
/// complete and production-ready, we'll get rid of this flag.
187
- static bool enableExperimentalCanvasImplementation = false;
+ static bool enableExperimentalCanvasImplementation = const bool.fromEnvironment('FLUTTER_WEB_USE_EXPERIMENTAL_CANVAS_TEXT', defaultValue: false);
188
189
/// Gets the appropriate [TextMeasurementService] instance for the given
190
/// [paragraph].
0 commit comments