Skip to content

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
``` No newline at end of file
Copy link
Contributor

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
Contributor

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

Copy link
Author

Choose a reason for hiding this comment

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

@rishi-raj-jain Any updates. Did you face any issues?

@danieltprice danieltprice requested a review from Copilot April 14, 2025 13:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 10 changed files in this pull request and generated no comments.

Files not reviewed (6)
  • with_flutter/.env.example: Language not supported
  • with_flutter/.gitignore: Language not supported
  • with_flutter/.metadata: Language not supported
  • with_flutter/lib/main.dart: Language not supported
  • with_flutter/lib/todos_page.dart: Language not supported
  • with_flutter/test/widget_test.dart: Language not supported
Comments suppressed due to low confidence (1)

with_flutter/README.md:8

  • The CLI command uses 'with-flutter' while the project directory and naming convention use 'with_flutter'. Consider updating the command to ensure consistency.
npx degit neondatabase/examples/with-flutter ./with-flutter

@Saffron-codes
Copy link
Author

Hello @danieltprice @rishi-raj-jain, Any updates!. I have stated the reason for the naming convention :(

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