createState method

_InfoDialogState createState()
override

Function when press button

If not provide, will call: Navigator.pop(context) to close dialog

Implementation

_InfoDialogState createState() => _InfoDialogState();