flutter_genshin_stats 0.0.1 flutter_genshin_stats: ^0.0.1 copied to clipboard
A port of genshinstats for Python.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_genshin_stats
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_genshin_stats: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_genshin_stats/daily.dart';
import 'package:flutter_genshin_stats/genshin_stats.dart';
import 'package:flutter_genshin_stats/hoyolab.dart';
import 'package:flutter_genshin_stats/prettify.dart';
import 'package:flutter_genshin_stats/util.dart';