isEdge top-level property
Whether the current web browser is MS Edge.
Implementation
final bool isEdge = window.navigator.userAgent.contains('Edge/');
Whether the current web browser is MS Edge.
final bool isEdge = window.navigator.userAgent.contains('Edge/');