open_store 0.2.2 copy "open_store: ^0.2.2" to clipboard
open_store: ^0.2.2 copied to clipboard

outdated

Simple lightweight package to open store page.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:open_store/open_store.dart';

void main() {
  runApp(UpenStoreExample());
}

class UpenStoreExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            OpenStore.instance.open(
              appStoreId: '284815942',
              androidAppBundleId: 'com.google.android.googlequicksearchbox',
            );
          },
          child: Text('Open store'),
        ),
      ),
    );
  }
}
105
likes
0
pub points
98%
popularity

Publisher

verified publisherfrezycode.com

Simple lightweight package to open store page.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, url_launcher

More

Packages that depend on open_store