standalone 0.9.0 copy "standalone: ^0.9.0" to clipboard
standalone: ^0.9.0 copied to clipboard

unlistedoutdated

A simple package to force the user to install pwa on mobile or browser

example/main.dart

import 'package:flutter/material.dart';
import 'package:standalone/src/standalone.dart';

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return StandaloneBuilder(
      builder: (context, isStandalone, isMobile) {
        return (isStandalone && isMobile) ? const SizedBox() : const SizedBox();
      },
    );
  }
}
1
likes
150
points
5
downloads

Publisher

verified publisherskydevelopers.ir

Weekly Downloads

A simple package to force the user to install pwa on mobile or browser

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, universal_html

More

Packages that depend on standalone