Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Flutter example #36

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Saffron-codes
Copy link

This PR adds an example project demonstrating how to use Neon with Flutter. Since Flutter doesn't allow hyphens in project names (only underscores), I have adjusted the naming convention to follow the guidelines. The directory is named with_flutter to maintain consistency with other examples.

Comment on lines 33 to 43
Run the command below to install project dependencies:

```
flutter pub get
```

Run the Express application using the following command:

```
flutter run
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can I install the Flutter CLI?
Also, how to run this in a Mac? I tried this but it keeps saying no wireless device connected.

Copy link
Author

@Saffron-codes Saffron-codes Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checkout the flutter docs for the platforms you want to test in a Mac:

android
iOS

make sure you have the android or iOS virtual devices running before executing flutter run

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Saffron-codes can you help me with what's to be done to set up android or ios virtual devices?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure!. Let's go with the easy one, Android.

  1. Install Android Studio
  2. Use AVD Manager to setup emulators, choose any of the latest android SDK
  3. Open the project in Android Studio. Start the installed emulator.
  4. Now, execute flutter run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants