nakama 1.2.0 copy "nakama: ^1.2.0" to clipboard
nakama: ^1.2.0 copied to clipboard

Nakama is an open-source scalable game server that lets you focus on building games.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:logging/logging.dart';
import 'package:nakama_example/features/authentication/login/views/pages/login_page.dart';
import 'package:nakama_example/features/authentication/signup/views/pages/signup_page.dart';
import 'package:nakama_example/features/common/routes.dart';
import 'package:nakama_example/features/home/list_features/views/pages/list_features.dart';
import 'package:nakama_example/features/rpc/custom/views/pages/rpc_custom.dart';

void main() {
  Logger.root.level = Level.ALL;
  Logger.root.onRecord.listen((record) {
    debugPrint('${record.level.name}: ${record.time}: ${record.message}');
  });
  runApp(ProviderScope(
    child: MaterialApp(
      debugShowCheckedModeBanner: false,
      routes: {
        Routes.login: (context) => LoginPage(),
        Routes.signup: (context) => SignupPage(),
        Routes.home: (context) => ListFeaturesPage(),
        Routes.rpc: (context) => RpcCustomPage(),
      },
    ),
  ));
}
62
likes
130
points
341
downloads

Publisher

verified publisherheroiclabs.com

Weekly Downloads

Nakama is an open-source scalable game server that lets you focus on building games.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

dio, fixnum, freezed_annotation, grpc, json_annotation, jwt_decoder, logging, meta, protobuf, retrofit, web_socket_channel

More

Packages that depend on nakama