isFeatureEnabled method

  1. @override
bool isFeatureEnabled(
  1. BuildContext context,
  2. String flag
)
override

Проверка feature-флага (например, 'new_ui')

Implementation

@override
bool isFeatureEnabled(BuildContext context, String flag) {
  return FeatureFlags.of(context).isEnabled(flag);
}