Introduction
Coinbase is a simple prototype app which lists crypto coins.
Before we start, you can take a look at the app:
How To Use
To clone and run this application, you'll need Git and Flutter installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/Shadow60539/crypto_flutter.git
# Go into the repository
$ cd crypto_flutter.git
# Install dependencies
$ flutter packages get
# Run the app
$ flutter run
Packages
Below are the information about these packages.
package | explain |
---|---|
cached_network_image | Caching Network Images |
dartz | Functional Programming |
flutter_bloc | Bloc Pattern |
google_fonts | Google fonts |
freezed | Code generation for immutable classes |
lint | Rules handler for Dart |
build_runner | Build Custom Models |
mockito | Testing |
dio | Network Calls |
Directory Structure
The project directory structure is as follows:
├── android
├── asset
├── build
├── images
├── ios
├── lib
├── pubspec.lock
├── pubspec.yaml
Let me explain the other directories besides lib:
DIRECTORY | INFO |
---|---|
images | readme images files |
asset | images and lottie files |
Then the lib directory
DIRECTORY | INFO |
---|---|
application | State Management |
core | Global Classes |
domain | Abstract Classes |
infrastructure | Domain implementation (backend) |
presentation | UI |