show<T> static method

Future<T?> show<T>(
  1. BuildContext context, {
  2. required Widget widget,
})

Implementation

static Future<T?> show<T>(BuildContext context,
        {required final Widget widget}) =>
    showDialog<T>(
        context: context,
        barrierColor: DigitTheme.instance.colors.black.withOpacity(0.7),
        builder: (context) => DigitActionDialog(widget: widget));