We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edaafb6 commit ee51f7dCopy full SHA for ee51f7d
lib/src/chatbox.dart
@@ -56,25 +56,11 @@ class MessageActionEvent {
56
enum UrlNavigationAction { allow, deny }
57
58
class UrlNavigationRequest {
59
- final Uri? url;
60
- final String rawUrl;
61
- final bool isValidUrl;
62
-
63
- UrlNavigationRequest._(
64
- this.url,
65
- this.rawUrl,
66
- this.isValidUrl,
67
- ) ;
68
69
- factory UrlNavigationRequest(String url){
70
- final Uri? uri = Uri.tryParse(url);
71
72
- return UrlNavigationRequest._(
73
- uri,
74
- url,
75
- uri!=null,
76
- );
77
- }
+ final String url;
+
+ UrlNavigationRequest(
+ this.url
+ );
78
}
79
80
/// A messaging UI for just a single conversation.
0 commit comments