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

outdated

Detect the amount of tabs running in web

example/main.dart

import 'package:web_multiple_tab_detector/web_multiple_tab_detector.dart';

void main() {
  WebMultipleTabDetector.register();

  if (WebMultipleTabDetector.getTabs() > 1) {
    // only one open tab allowed!
  } else {
    // laucnh app normally
  }
}
12
likes
0
pub points
70%
popularity

Publisher

verified publisherfamedly.com

Detect the amount of tabs running in web

Homepage

License

unknown (license)

More

Packages that depend on web_multiple_tab_detector