in_app_review_play_store 0.0.3 copy "in_app_review_play_store: ^0.0.3" to clipboard
in_app_review_play_store: ^0.0.3 copied to clipboard

The Flutter plugin for Google Play In-App Review that lets you prompt users to submit Play Store ratings and reviews without the inconvenience of leaving your app or game.

example/lib/main.dart

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

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    initInAppReview();
  }

  initInAppReview() async {
    InAppReview.init();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('In App Review example app'),
        ),
        body: Center(
          child: RaisedButton(
            child: Text("Launch In App Review"),
            onPressed: () {
              InAppReview.launch();
            },
          ),
        ),
      ),
    );
  }
}
14
likes
40
pub points
0%
popularity

Publisher

unverified uploader

The Flutter plugin for Google Play In-App Review that lets you prompt users to submit Play Store ratings and reviews without the inconvenience of leaving your app or game.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on in_app_review_play_store