show static method

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

Implementation

static Future<void> show(
  BuildContext context, {
  required List<Feature> availableFeatures,
  String title = 'Feature flags',
}) {
  final errorDialog = Dialog(
    shape: RoundedRectangleBorder(
      borderRadius: const BorderRadius.all(
        Radius.circular(10.0),
      ),
    ), //this right here
    child: ClipRRect(
      borderRadius: const BorderRadius.all(
        Radius.circular(10.0),
      ),
      child: DebugFeatures(
        title: title,
        availableFeatures: availableFeatures,
      ),
    ),
  );
  return showDialog(
    context: context,
    builder: (BuildContext context) => errorDialog,
  );
}