Skip to content

HowardTangHw/EspressoApp

Repository files navigation

ico Espresso App

LOGO

Powered By by Vercel

Infra TODO:

  • dio
  • fquery
  • GetX
  • google_nav_bar
  • flutter_native_splash
  • husky + commitlint
  • Flutter Hooks
  • infinite_scroll_pagination
  • MacOS
  • iOS
  • Android
  • Windows

Requirement

Home Page , Search Page , Profile Page , Repo Detail Page

Home Page

  • Favorite List(Unlimited loading)

Search Page

  • Search function

Profile page

  • Sign in
  • Overview
  • Repositories

Repo Detail Page

Global Repo Page when clicking any repo in the list

  • Code
  • Issues
  • Pull Requests
  • etc..

Api list

Github Api

Favorite List:

https://api.github.com/search/repositories?q=stars:>10000&sort=stars&order=desc

JSON to Dart Model

https://javiercbk.github.io/json_to_dart/

Splash Command

flutter pub run flutter_native_splash:create REMINDER: Please do not upload modifications to the site, as it has been enhanced separately

Windows command

dart run msix:create

iOS Command

  1. xcrun simctl list devices
  2. xcrun simctl boot "iPhone 15"
  3. flutter devices
  4. run flutter run -d "iPhone 15" --machine

Code Format & Code Analyze

dart format .
dart fix --apply
dart analyze --fatal-infos

Android stop gradle

cd android
./gradlew --stop

iOS and Android hide status bar

https://stackoverflow.com/questions/58450434/status-bar-doesnt-show-up-in-flutter