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