An assembled flutter application framework.

Overview

Fish Redux

Build Status pub package codecov

What is Fish Redux ?

Fish Redux is an assembled flutter application framework based on Redux state management. It is suitable for building medium and large applications.

It has four characteristics:

  1. Functional Programming
  1. Predictable state container
  1. Pluggable componentization
  1. Non-destructive performance

Architecture diagram

Installation

Go

Documentation

Language: English | 中文简体

Examples

  • todo list - a simple todo list demo.
  • run it:
cd ./example
flutter create .
flutter run

What's the difference between 'Fish Redux' and 'Redux' ?

Plugins

Code Template

Dev-Tools

License

  • Fish Redux is released under the Apache 2.0 license. See LICENSE for details.

关于我们

阿里巴巴-闲鱼技术是国内最早也是最大规模线上运行Flutter的团队。

我们在公众号中为你精选了Flutter独家干货,全面而深入。

内容包括:Flutter的接入、规模化应用、引擎探秘、工程体系、创新技术等教程和开源信息。

架构/服务端/客户端/前端/质量工程师 在公众号中投递简历,名额不限哦

欢迎来闲鱼做一个好奇、幸福、有影响力的程序员,简历投递:[email protected]

订阅地址

For English

Issues
  • 关于fish-redux支持 App级别Store的讨论

    关于fish-redux支持 App级别Store的讨论

    目前这个特性已经在feature/routes分支上了。参考代码

    1. 在保持原有的设计和实现的基础上,加了很薄的routes层。 routes 仅提供如下能力
    /// Define a basic behavior of routes.
    abstract class AbstractRoutes {
      Widget buildPage(String path, Map<String, dynamic> map);
    }
    
    1. 为原有的Page做了一个routes:PageRoutes -Each page has a unique store.

    2. 为基于一个store的多页面做了一个routes: AppRoutes。 -Multi-page(a route component is a page) sharing a store.

    3. 提供了一个可以装载多个routes的HybridRoutes。

    示例:

    /// How to define ?
    ///     MainRoutes extends HybridRoutes {
    ///       MainRoutes():super(
    ///           routes: [
    ///             PageRoutes(
    ///               pages: <String, Page<Object, Map<String, dynamic>>>{
    ///                 'home': HomePage(),
    ///                 'detail': DetailPage(),
    ///               },
    ///             ),
    ///             AppRoutes<T>(
    ///               preloadedState: T(),
    ///               middleware:[],
    ///               pages: {
    ///                 'message': MsgConn() + MessageComponent(),
    ///                 'personal': PersonalConn() + PersonalComponent(),
    ///               },
    ///             ),
    ///           ]
    ///         );
    ///     }
    ///
    /// How to use ?
    ///     const Routes mainRoutes = MainRoutes();
    ///     mainRoutes.buildPage('home', {});
    ///     mainRoutes.buildPage('message', {});
    

    然后这是大家想要的么?欢迎讨论。

    the key issue 
    opened by zjuwjf 60
  • 收集大家对fish-redux后续演进的期望

    收集大家对fish-redux后续演进的期望

    👏大家在这里发声,讨论。

    1. 拓展: 大家想要fish-redux做哪些能力拓展,水平的,垂直的?

    2. 工具: 大家对工具和插件的看法?

    3. 问题: fish-redux在大家使用中会遇到哪些问题 ? 哪些是目前大家使用flutter的普遍的痛点 ?

    4. 未来: 期望fish-redux成为一个什么样的开源产品

    opened by zjuwjf 51
  • 多Adapter需求和场景讨论

    多Adapter需求和场景讨论

    一个列表数据,前3个item表现形式不一致,比如UI布局、大小、某些数据字段不显示等,但是数据源ItemBean是一样的,但是没有数据字段能够区分,只能靠index去区分,请问有什么好的方式实现吗?

    the key issue 
    opened by jpdan 50
  • Action冲突

    Action冲突

    Error: 'Action' is imported from both 'package:flutter/src/widgets/actions.dart' and 'package:fish_redux/src/redux/basic.dart'. 请问出现这个问题要怎么解决

    opened by Bedroome 37
  • page变量问题

    page变量问题

    component访问page中的变量只能同过conn吗

    opened by xfmaster 28
  • tabcontroller

    tabcontroller

    如何在 fish redux 中使用 tabcontroller? with 放到哪里呢?

    opened by PandaCVBRO 24
  • action如何修改当前页面的reducer

    action如何修改当前页面的reducer

    请问在view里面dispatch action 和在effect里面dispatch action有没有区别, 我的理解是当前页面的的state来自于被绑定的connector, 而当前页面的state能够在当前页面的reducer里面被修改状态, 为啥我在view里面派发了action不能起到修改当前页面state的作用?

    opened by jefferybai 24
  • 请教一下 当api返回401(token失效) 如何优雅的跳转到login界面?

    请教一下 当api返回401(token失效) 如何优雅的跳转到login界面?

    请教一下 当api返回401(token失效) 如何优雅的跳转到login界面?

    opened by marscj 22
  • 配合 built value 创建 state 合理吗?

    配合 built value 创建 state 合理吗?

    手动组装 state 的 clone 有点麻烦,都是重复操作。 所以尝试了下 built value,配合 IDE 的 snippet,感觉方便很多,同时也更大限度的保证了 state Immutable,就是感觉 clone 好像有点多余。 这样做,有什么隐患吗?或者说有什么需要注意的?

    题外话,我记得公众号提到过 fish-serializable ? 有时间计划么,很期待。

    opened by TshineZheng 20
  • 所有component都依赖的global state的reselect方法

    所有component都依赖的global state的reselect方法

    现在有一个全局对象,比如User。所有的component都有可能用到,并且都会随它的修改而更新。按照fish-redux的设计,我目前是使用reselect,但意味着从page开始到所有的component的state,都需要包裹一层user。虽然我目前是用通用mixin,但是每个state都不得不包裹一层,哪怕自己没用到,子component也有可能用到,还得一层层reselect下去,从性能和设计考虑,都显得实在太臃肿了。 这个现在有什么好的解决方案?或者对框架有所修改,比如加入订阅机制,component可以订阅某个修改。或者换种方式,将connectExtraStore下移到component,使用类似的数据流。

    opened by ykrank 17
  • Flutter 都出2.5 了,你们还不适配空安全吗?

    Flutter 都出2.5 了,你们还不适配空安全吗?

    Flutter 都出2.5 了,你们还不适配空安全吗?

    opened by emodeqidao 7
  • 什么时候可以支持Flutter2的空安全

    什么时候可以支持Flutter2的空安全

    在混合开发时,空安全的检测导致项目只能在Flutter1和Flutter2中选择,并且第三方库也无法进行升级,极大不方便,希望可以尽快支持!

    opened by jjlyt2 2
  • Fish-Redux有没有跨页面传输的方案

    Fish-Redux有没有跨页面传输的方案

    比如从A页面跳到B页面,又从B页面跳到了C页面,如果C页面需要通知A页面去修改数据,应该怎么办呢

    opened by stronger-gzc 0
  • 对 阿里 的项目很是失望, 以后一定要慎用 慎用 慎用

    对 阿里 的项目很是失望, 以后一定要慎用 慎用 慎用

    对 阿里 的项目很是失望, 以后一定要慎用 慎用 慎用

    opened by Rempage 8
  • Apage跳转一个新的Apage 返回时旧Apage执行action事件页面不刷新

    Apage跳转一个新的Apage 返回时旧Apage执行action事件页面不刷新

    Apage跳转一个新的Apage 返回时旧Apage执行action事件页面不刷新

    opened by xy221150 0
  • 0.3.7 迁移 flutter 2.0 null safety

    0.3.7 迁移 flutter 2.0 null safety

    迁移 null safety

    opened by leftcoding 6
  • 有支持null-safety的计划么?

    有支持null-safety的计划么?

    有支持null-safety的计划么?不要放弃啊,项目已经用了fish-redux。会继续维护项目么?后续的计划有么?不要是KPI项目啊。现在fish_redux不支持null-safety所有项目都无法升级,flutter新版本在ios编译null-safety时也存在问题(如果fish_redux支持null-safety那么就不需要指定null-safety参数可以避开flutter编译的bug),所以flutter也无法升级,其他三方库又需要flutter新版本,所以三方库也无法升级。

    opened by jiangxiaoqiang 7
  • 非常感谢您的分享,想确定下框架未来会迁移到flutter2.0

    非常感谢您的分享,想确定下框架未来会迁移到flutter2.0

    一直在使用fish redux 已经形成了一直习惯了 想确定下后续还会升级吗. 用其他的已经不习惯了

    opened by timluck168 0
Built_redux provider for Flutter.

flutter_built_redux built_redux bindings for Flutter. By creating a Widget that extends StoreConnector you get automatic subscribing to your redux sto

null 81 Jun 29, 2021
Compile-time dependency injection for Dart and Flutter

package:inject Compile-time dependency injection for Dart and Flutter, similar to Dagger. NOTE: This is not an official Google or Dart team project. E

Google 847 Nov 27, 2021
Project demonstrates building a simple chat application using Flutter framework and Firebase cloud

Flutter Chat on Firebase Project demonstrates building a simple chat application using Flutter framework and Firebase cloud. App does not poll for new

Sukitha Udugamasooriya 7 Aug 14, 2021
In this tutorial, we'll create a Quiz application using AQUEDUCT FRAMEWORK.

Quiz API Dart An application built with aqueduct. Topics Covered How to Setup Aqueduct ? How to write your first REST API ? How to make controllers ?

Pawan Kumar 20 Jan 13, 2021
Fully functional Twitter clone built in flutter framework using Firebase realtime database and storage

Fwitter - Twitter clone in flutter A working Twitter clone written in Flutter using Firebase auth,realtime,firestore database and storage. Download Ap

Sonu Sharma 1.5k Nov 23, 2021
A minimalist Flutter framework for rapidly building custom designs.

Show some ❤️ and star the repo. VelocityX is a 100% free Flutter open-source minimalist UI Framework built with Flutter SDK to make Flutter developmen

Pawan Kumar 866 Nov 25, 2021
Implementation of the Flux framework for Flutter

flutter_flux A Dart app architecture library with uni-directional data flow inspired by RefluxJS and Facebook's Flux. This is an experimental package

Google 361 Nov 17, 2021
Simple form maker for Flutter Framework

Flutter FormBuilder - flutter_form_builder This package helps in creation of data collection forms in Flutter by removing the boilerplate needed to bu

Danvick Miller 929 Dec 1, 2021
Auto is a Flutter automated testing framework developed for testers.

Auto Auto-A simpler Flutter UI automation test solution. No need to write any code Recording test scripts is very simple Mult

null 13 Nov 27, 2021
A simple and easy to learn declarative navigation framework for Flutter, based on Navigator 2.0.

A simple and easy to learn declarative navigation framework for Flutter, based on Navigator 2.0 (Router). If you love Flutter, you would love declarat

Zeno Nine 15 Oct 24, 2021
Quiz App to conduct online quiz developed with flutter framework and dart language

Online Quiz App A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Parag Patil 5 Nov 24, 2021
Simple tool to open WhatsApp chat without saving the number, developed using Google's Flutter Framework. for Android/ IOS/ Desktop/ Web

OpenWp Simple tool to open WhatsApp chat without saving the number Explore the docs » View Demo · Report Bug · Request Feature Table of Contents About

Swarup Bhanja Chowdhury 14 Aug 8, 2021
An extensible flutter-framework

dart_board An extensible flutter-framework Dart Board allows you to break your app into features and then integration cleanly and consistently. It's e

Adam Hammer 39 Oct 29, 2021
FileManager is a wonderful widget that allows you to manage files and folders, pick files and folders, and do a lot more. Designed to feel like part of the Flutter framework.

File Manager FileManager is a wonderful widget that allows you to manage files and folders, pick files and folders, and do a lot more. Designed to fee

Devs On Flutter 28 Nov 12, 2021
A Flutter server rendering framework

Shark Flutter ?? (Under Construction) A Flutter server rendering framework After i finish the project structure, I would draw a project diagram and de

Vau 48 Nov 23, 2021
A comprehensive guide on learning how to code cross platform mobile applications with the Flutter framework, from the ground up.

✳️ The Ultimate Guide to App Development with Flutter ✳️ A complete and comprehensive guide to learning Flutter with explanations, screenshots, tips,

Anthony 121 Nov 26, 2021
Liquidart is a Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider. Revival of the abandoned AQUEDUCT project.

Liquidart is a modern Dart HTTP server framework. The framework is composed of libraries for handling and routing HTTP requests, object-relational map

Aldrin's Art Factory 33 Nov 3, 2021
server side dart micro-framework to handle incoming http requests

Queen Palace ???? Introduction server side dart micro-framework to handle incoming http requests

Ahmed Masoud 29 Oct 21, 2021
Upper is a open source back-end framework based on the Dart language.

What is Upper? Upper is a open source back-end framework based on the Dart language. With it, it is possible to automatically generate a gRPC API for

Andriws Luna 38 Aug 22, 2021
Rokeet UI - A Server Driven UI Framework

Rokeet UI A Server-Driven UI framework. Status Lib Build Coverage Core Configure Mockoon server Install Mockoon: Mac OSX brew install --cask mockoon

osodroid 5 Oct 18, 2021
Rocket is a parsing framework for parsing binary data structures using efficient parsing algorithms

rocket Version 0.1.10 (BETA) Rocket is a parsing framework for parsing binary data structures using efficient parsing algorithms. Breaking change: The

null 4 Aug 18, 2021
This is application using Flutter for develop a trello application

flutter_desktop_trello A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you s

Dao Hong Vinh 11 Nov 4, 2021
GChat is a chatting application developed using Flutter(Dart) and firebase for 2 users. Trying to Develop an application that does not sell your data with whatsapp rolling out its privacy policy updates.

Gchat - The Chatting Application A Flutter project for chatting. I used Android Studio and you can you any editor of your choice for ex: VS Code, Inte

Sanchaksh Kaul 5 Aug 17, 2021
An application built using Flutter that can be used while playing board games if actual or physical dice is missing . This is a dual dice application.

diceee_utter A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

dev_allauddin 4 Nov 17, 2021
A flutter utility to easily create flavors in your flutter application

Flutter Flavorizr A flutter utility to easily create flavors in your flutter application Getting Started Let's start by setting up our environment in

Angelo Cassano 155 Nov 21, 2021
Flutter demo application for Apple TV (tvos) using custom Flutter engine

Flutter for Apple TV A modification of the Flutter engine + test application to demonstrate that Flutter applications run on Apple TV This project (an

LibertyGlobal 115 Nov 11, 2021
A Flutter application to demonstrate how to implement Google maps and its advanced options in a flutter app.

google_maps_flutter_example A new Flutter application to demonstrate how to implement flutter google maps in a flutter application and perfoem advance

Hesham Erfan 26 Oct 30, 2021
An android application built using Flutter that computes the Body Mass Index of person and suggestion to carry ,by taking Inputs (Weight, Height, and Age), Built using Flutter

BMI Calculator ?? Our Goal The objective of this tutorial is to look at how we can customise Flutter Widgets to achieve our own beautiful user interfa

dev_allauddin 7 Nov 21, 2021