vgk_game_services 2.3.3 copy "vgk_game_services: ^2.3.3" to clipboard
vgk_game_services: ^2.3.3 copied to clipboard

A new Flutter plugin to support game center and google play games services.

example/lib/main.dart

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

void main() => runApp(MyApp());

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

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Games Services plugin example app'),
        ),
        body: Center(
          child: Column(
            children: <Widget>[
              ElevatedButton(
                child: const Text('signIn1'),
                onPressed: () async {
                  final result = await VgkGameServices.signIn;
                  print(result);
                },
              ),
            ],
          ),
        ),
      ),
    );
  }
}
0
likes
100
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter plugin to support game center and google play games services.

Repository (GitLab)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on vgk_game_services