Skip to main content

web_multiple_tab_detector 0.2.0 copy "web_multiple_tab_detector: ^0.2.0" to clipboard
web_multiple_tab_detector: ^0.2.0 copied to clipboard

outdated

This package makes it possible to detect how many browser tabs in the webbrowser your flutter app is currently running in.

example/main.dart

import 'package:web_multiple_tab_detector/web_multiple_tab_detector.dart';

void main() async {
  WebMultipleTabDetector.register();

  if (await WebMultipleTabDetector.isSingleTab()) {
    // only one open tab allowed!
  } else {
    // laucnh app normally
  }
}
13
likes
0
points
4.36k
downloads

Publisher

verified publisherfamedly.com

Weekly Downloads

This package makes it possible to detect how many browser tabs in the webbrowser your flutter app is currently running in.

Homepage
Repository (GitLab)
View/report issues

License

unknown (license)

More

Packages that depend on web_multiple_tab_detector