Building a bilibili iOS client in Flutter.
Note: This section is only relevant if you would like to develop project yourself.
Make sure you have Flutter installed. Then clone this repo and follow these steps.
- Get dependencies using flutter command. For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
flutter pub get
- We use
built_value.dart
to serializing json to models, and autogenerated files are ignored by source control (git), so we should generate those files before run app.
flutter pub run build_runner build
- Run the following commands, replace MODE with flutterMode that defined in flutter.
flutter run --MODE