Git Product home page Git Product logo

fatdove / fluttergithubapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qingmei2/fluttergithubapp

0.0 0.0 0.0 1.05 MB

Flutter开发跨平台Github客户端,适用于Android和iOS。页面功能简单,易于上手学习Flutter,同款MVVM架构项目https://github.com/qingmei2/MVVM-Rhine , MVI架构项目 https://github.com/qingmei2/MVI-Rhine

Kotlin 0.30% Ruby 1.88% Objective-C 0.64% Dart 97.19%

fluttergithubapp's Introduction

FlutterGitHubApp

使用Flutter开发的Github客户端,适用于AndroidiOS平台,页面功能简单,易于上手学习Flutter

项目提供了多种 状态管理 组件对应的实现方式,开发者只需切换对应的 分支,便可以根据自己感兴趣的模式进行学习开发:

  • basic_provider : Google官方推荐的 provider 库;

  • basic_bloc_rxdart: 经典的 bloc 模式的实现案例,适用于复杂的业务场景开发;

  • basic_fish_redux (开发中...): 阿里巴巴前端团队推出的状态管理解决方案fish-redux;

  • master(当前项目的默认分支): 该分支始终展示的是最新稳定版本的状态管理实践,目前展示的是 bloc_rxdart 模式的开发示例。

通知

  • 下载后,编译遇到错误?

如果遇到 Error: Error when reading 'lib/common/constants/ignore.dart': No such file or directory 的错误,请参考下方【开始使用】,对项目进行配置。

屏幕截图

开始使用

  • 1.直接通过git命令行进行clone:
$ git clone https://github.com/qingmei2/FlutterGitHubApp.git
  • 2.注册你的GithubApp

首先打开这个链接,注册属于你的OAuth Application

注册完成后,记住下面的Client IDClient Secret,新建并配置到你的项目根目录的lib\common\constants\ignore.dart文件中:

class Ignore {
  static const String clientId = 'xxxxxx';
  static const String clientSecret ='xxxxxxx';
}

大功告成,接下来点击编译并运行即可。:tada: :tada: :tada:

感谢

🎨 项目中的UI设计部分参考了 gitme.

⭐ 项目参考了 GSYGithubAppFlutter 并对其部分代码进行了引用.

其他开源项目

MVVM-Rhine: MVVM + Jetpack 架构组件的Github客户端。

MVI-Rhine: 基于Jetpack + MVVM, 更加响应式&函数式的编程实践

RxImagePicker: 灵活的Android图片选择器,提供了知乎和微信主题的支持

License

The FlutterGitHubApp: Apache License

Copyright (c) 2019 qingmei2

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.

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.