Questions tagged [dart-frog]
7 questions
0
votes
1 answer
How to convert JSON news data from API to flutter news blocks in flutter news toolkit
I am working with flutter news toolkit. I was able to successfully setup environment for it and everything is working fine as long as I am providing data from in memory data source. But when I want to get data from my own custom source then there is…

Zia Ur Rahman
- 41
- 7
0
votes
1 answer
How to use Dart Frog in Android Studio?
How can we create and use a dart project of Dart Frog in Android Studio?

Roger Gusmao
- 3,788
- 1
- 20
- 17
0
votes
1 answer
Can one Hive database be used for multiple projects in Flutter?
I am developing a full stack app service in Dart language. I am developing front-end using Flutter and back-end using dart_frog.
I'm using Hive as a database. Both Flutter and dart_frog can use Hive, which greatly increases productivity.
But I have…

Queen Ellery
- 481
- 1
- 6
- 11
0
votes
0 answers
Issue with Mocktail and Dart Frog
I'm new to testing with anything other than Postman and having a problem with tests on my Dart Frog API. Tests on basic endpoints that return a static value work but this one fails with the error "type 'Null' is not a subtype of type…

user3554868
- 1
- 1
0
votes
0 answers
Unable to generate code using build_runner for dart_frog project
I have a dart_frog server code running on a Google Cloud - Compute Engine instance. I have used stormberry as the ORM for my postgres DB which generates code using build_runner.
Now, the issue is that, when I run dart run build_runner build…

Damien Leon
- 61
- 5
0
votes
0 answers
Running dart run build_runner build in DockerFile does not generate files
I have a DockerFile as follows:
FROM dart:stable AS build
WORKDIR /app
# Copy Dependencies
COPY packages/shared ./packages/shared
# Install Dependencies
RUN dart pub get -C packages/shared
# Resolve app dependencies.
COPY pubspec.* ./
RUN dart…

Damien Leon
- 61
- 5
0
votes
1 answer
dart_frog | How do I define multiple routes in same file?
Below is my current routes:
api/v1/users/login
api/v1/users/register
api/v1/users/forgot
And so on...
I want to know, how can I create all these routes keeping a single file auth.dart let's say. So that I will be having all the code in single file…

Hamza
- 1,523
- 15
- 33