fun_android_flutter

👿👿👿👿👿玩Android客户端Flutter版本。Provider的最佳实践.DarkMode、多色彩主题、国际化、切换字体、优美动画

Stars
2.7K

Language: English | 中文简体

Big F, it's Fun, also it means Flutter.

FunAndroid is a production project , Provider's best practices with MVVM

ScreenShot

splash.gif 首页空中楼阁 tab概览_1080-50-128.gif
页面不同状态展示.gif 搜索.gif 收藏-50.gif
登录页展示.gif 收藏列表到登录.gif 主题切换-1080-75-256.gif

Home Page

https://github.com/phoenixsky/fun_android_flutter

Download page

下载地址

download page

Environment :

  • Flutter SDK (Channel dev, v1.10.3)

Update

2019-08-28

  • add WebViewPlugin switcher in Setting Page
  • My favourite list can refresh after the unlike in the detail page

2019-08-26

  • update favourite animation with Hero and Route . (hiding original hero after hero transition.见pr-37341)

Provider MVVM Best Practices

  • Quickly add a page with pull-down refresh and pull up to load more pages. For example
    1. Model
      Api
    2. ViewModel
      -w494
    3. View
      -w637

model.viewState == ViewState.busy is better way ,but isBusy easy to write

What can you find here??

  1. Provider
    1. When and Where init data
    2. how to be with ViewState(loadingerroremptyidleunAuthorized)。
    3. use together with pull to refresh
  2. Clear Structure。
  3. Drop setState, Partial Rerefresh with XxxBuilder
  4. App base module
    1. Theme
    2. DarkMode
    3. Switch Font
    4. Skeleton
    5. i18n
    6. Dio with Cookjar,use cookie login

To-Do

  1. homepage second floor can't navigate
  2. Sign in Hero animation shift
  3. Sign out add animation

Bug

  1. webview_flutter](https://pub.dev/packages/webview_flutter) some url can't navigate
  2. webview_flutter in CustomScrollView can't scroll ,issue
  3. anti-aliasing when same-colour blocks in SignIn Page。见issue

Thanks

  1. V2Lf ,made me like flutter
  2. goweiiWanAndroid
  3. Tutorials,Video tutorial on youtube
  4. pull_to_refresh
  5. ZCOOL Font
  6. WanAndroid provide Api

About Me

License

Copyright 2019 phoenixsky

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Related Projects