Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

🛠 Starting template for a flutter server simulator

License

Notifications You must be signed in to change notification settings

bassel/flutter-server-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Simulator

This is a starting template for a server simulator inside a flutter app.
It allows developers to fake server responses inside their app without having to implement the backend.
By using the server simulator, developers can write their code as if their were actually communicating with the server early in the developing stages.

How to use

What you'll need from this project is three files located under the lib directory :

api.dart
fake_http.dart
response.dart
  • Copy these files to your project.
  • Implement the methods you need inside the API class.
  • And that's all! Now you can call FakeHttp() instead of http and get back your response!

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

🛠 Starting template for a flutter server simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages