showDebugView static method

Future<void> showDebugView(
  1. BuildContext context, {
  2. required List<Feature> availableFeatures,
  3. String title = 'Feature flags',
})

Shows a debug view that allows to activate or deactive the given availableFeatures.

The title can be customized.

Implementation

static Future<void> showDebugView(
  BuildContext context, {
  required List<Feature> availableFeatures,
  String title = 'Feature flags',
}) =>
    DebugFeatures.show(
      context,
      availableFeatures: availableFeatures,
      title: title,
    );