Created
July 28, 2020 21:08
-
-
Save Meherdeep/bcf52a8bc4ee0de84b541daf1f9e9a45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future<void> onJoin() async{ | |
setState(() { | |
myController.text.isEmpty | |
? _validateError = true | |
: _validateError = false; | |
}); | |
await _permissionHandler.requestPermissions([PermissionGroup.camera, PermissionGroup.microphone]); | |
Navigator.push(context, | |
MaterialPageRoute( | |
builder: (context)=> CallPage(channelName: myController.text),) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment