Code Monkey home page Code Monkey logo

hw4's Introduction

Flutter App

This is a simple Flutter app that consists of three screens: a welcome screen, a second screen that fetches and stores user data, and a third screen that displays the stored user data.

Welcome Screen

The welcome screen displays a welcome message to the user. It includes an icon in the app bar and an image in the body. There's also a button that navigates to the second screen.

Second Screen

The second screen fetches user data from an API and displays it in a list. Each list item includes two buttons: one to fetch more user data from the API, and another to store the current user's data into a SQLite database. There's also a button that navigates to the third screen with a fade transition animation.

Third Screen

The third screen reads the user data from the SQLite database and displays it in a list. It includes a back button in the app bar that navigates back to the second screen.

Getting Started

To get started with this project, clone the repository and run flutter run in the root directory.

Dependencies

This project uses the following packages:

  • http: for fetching user data from an API.
  • sqflite: for storing and reading user data in a SQLite database.
  • path: for getting the path to the SQLite database.

Make sure to run flutter pub get to fetch the necessary dependencies.

hw4's People

Contributors

asilbekgit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.