showModal method

Future<void> showModal(
  1. BuildContext context,
  2. String title,
  3. String boardHash
)

Implementation

Future<void> showModal(BuildContext context, String title, String boardHash) {
  Navigator.of(context).pop();

  return showModalBottomSheet<void>(
      context: context,
      isScrollControlled: true,
      isDismissible: true,
      backgroundColor: ColorProvider.greyTwo,
      shape: RoundedRectangleBorder(
          borderRadius: BorderRadius.vertical(top: Radius.circular(SizeProvider.instance.size(40)))),
      builder: (BuildContext context) => render(title, boardHash));
}