Giter Site home page Giter Site logo

appflowy-io / appflowy-board Goto Github PK

View Code? Open in Web Editor NEW
53.0 53.0 42.0 825 KB

AppFlowy Board is a board-style widget that consists of multi-groups. It supports drag and drop between different groups. The AppFlowy Kanban Board project for AppFlowy and Beyond.

Home Page: https://appflowy.io/blocks

License: Other

Kotlin 0.07% Swift 0.71% Objective-C 0.02% Dart 76.56% CMake 9.15% C++ 11.31% C 0.45% HTML 1.00% Ruby 0.73%
flutter flutter-apps flutter-examples flutter-package flutter-widget kanban kanban-board kanban-board-application

appflowy-board's People

Contributors

a-wallen avatar annieappflowy avatar appflowy avatar dsyrstad avatar hyj1204 avatar lucasxu0 avatar richardshiue avatar xazin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

appflowy-board's Issues

[Test] Increase test coverage

We have not touched this package a lot since we abstracted it from the AppFlowy repository, this means we also haven't added any tests for this package itself.

We should strive to increase test coverage above 75% using unit tests.

Scroll group

When Reposition (Change Position) of whole group at That Time Shows

PrimaryScrollController.of() was called with a context that does not contain a PrimaryScrollController widget.

No PrimaryScrollController widget ancestor could be found starting from the context that was passed to PrimaryScrollController.of(). This can happen because you are using a widget that looks for a PrimaryScrollController ancestor, but no such ancestor exists.

Above Error in that specific Group

How do we persist the data ?

Any kind of use with onMoveGroupItemToGroup and sharedPreferences will clear the data and get null because onMoveGroupItemToGroup runs outside the state ig. please help me understand this.

Got an error in example

Another exception was thrown: ScrollController attached to multiple scroll views.

Another exception was thrown: PrimaryScrollController.of() was called with a context that does not contain a PrimaryScrollController
widget.

Error: "PhantomGroupItem is not a subtype of type TextItem"

When creating a board similar to the example you can get the runtime error mentioned in the title when you drag items around. The error appears when the group item list is not of the exact runtime type List<AppFlowyGroupItem>.

Here is an example of something that would cause the error to be thrown:

final items = ['Hello'].map((it) => TextItem(it))
AppFlowyGroupData(
   id: 'one',
   name: 'One',
   items: items.toList(),
);

A workaround is to use the List.from constructor:

final items = ['Hello'].map((it) => TextItem(it))
AppFlowyGroupData(
   id: 'one',
   name: 'One',
   items: List<AppFlowyGroupItem>.from(items),
);

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.