I thought you just add native like this
return showDialog( context: context, builder: (context) { return NativeDialog ( content: Text("Please enter an email address"), ); }, );
but I get error: NoSuchMethodError: The method 'map' was called on null. how to use it ?