diff --git a/lib/ui/natives.dart b/lib/ui/natives.dart index 830827b3dc772..66cfffd79e6b6 100644 --- a/lib/ui/natives.dart +++ b/lib/ui/natives.dart @@ -108,8 +108,9 @@ typedef _ScheduleImmediateClosure = void Function(void Function()); @pragma('vm:entry-point') _ScheduleImmediateClosure _getScheduleMicrotaskClosure() => _scheduleMicrotask; -// Used internally to indicate whether the Engine is using Impeller for -// rendering. +/// Whether the Engine is using the Impeller rendering engine. +bool get isImpellerEnabled => _impellerEnabled; + @pragma('vm:entry-point') bool _impellerEnabled = false;