Skip to content

hashup-it/game-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Wallet

Requirements

  1. Android Studio (or another Flutter-supported IDE)
  2. Flutter 2.0 (>=) - stable channel
  3. (Optional) A PureStake Account and the corresponding API key OR a locally hosted node

Setting up our development environment

If it’s your first time working with Flutter, I recommend you to go through the Getting Started section of the Flutter documentation to learn more about the different features and installation methods Flutter has to offer.

Ensure you have the latest stable channel of the Flutter SDK (>= 2.0), Dart 2.12.1 (>=).

Once installed, make sure to enable web and desktop support if you wish to export to those modules.

Open Android Studio, select Open an Existing project and navigate to the cloned project.

Run the following commands to use the latest version of the Flutter SDK:

flutter channel stable
flutter pub get

If Chrome is installed, the flutter devices command outputs a Chrome device that opens the Chrome browser with your app running, and a Web Server that provides the URL serving the app.

When everything is set up, select your target platform and click run!

Troubleshoot

First of all, run flutter doctor to check which tools are installed on the local machine and which tools need to be configured. Make sure all of them are checked and enabled.

Flutter Doctor

If you have some issues running the sample project, make sure Flutter is enabled and active:

  1. Open plugin preferences (File > Settings > Plugins).
  2. Select Marketplace, select the Flutter plugin and click Install.
  3. Restart the IDE

After restarting and indexing the IDE, open main.dart and run flutter pub get to fetch the dependencies. Then the option to run main.dart should be available and the different export options to emulator, Edge or chrome should be visible.

You don’t need to change the run/debug configurations - the Flutter plugin takes care of that.

Also make sure the flutter SDK path is correctly filled in:

  1. Open Language & Framework preferences (File > Settings > Languages & Frameworks).
  2. Open Flutter and enter the Flutter SDK Path.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages