showFaceUnityView static method

dynamic showFaceUnityView(
  1. BuildContext context, {
  2. AnimatComplete? animatComplete,
})

Implementation

static showFaceUnityView(BuildContext context,
    { AnimatComplete? animatComplete}) async {
  await showModalBottomSheet(
      context: context,
      isScrollControlled: true,
      backgroundColor: Colors.transparent,
      barrierColor: Colors.transparent,
      builder: (context) {
        return FUManagerViewWidget();
      }).then((value) => {
        if (animatComplete != null) {animatComplete()}
      });
}