Giter Club home page Giter Club logo

flutterby's Introduction

flutterby's People

Contributors

oodavid 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  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

flutterby's Issues

high cpu usage on posts page at infinite-loading-pull-to-refresh example

I found a problem in the 002-infinite-loading-pull-to-refresh example:
When I click the "Show Posts" button, and get to the Posts page for the first time, the frames will be rendered continuously, we can check it with the performance overlay. With an emulator, I get 100% cpu load at that time.
When I scroll down to load more elements, the problem will go away.
When I go to the top, and use pull and refresh, the problem comes again.
I tried to analyze the problem with profiling, but could not find the problem.
I use flutter 1.20.3 and dart 2.9.2.

Circular loading widget persists if initial data doesn't fill the screen

This is a very useful implementation of infinite scrolling and your videos are great, however I found that if there isn't enough data to fill the screen (i.e no need for scrolling) then the loading widget appears at the bottom and never goes away. Is there a way to fix this? This happens, for example if we choose 10 in the following line (in models.dart).

return _getExampleServerData(10).then((postsData)

image

MultiProvider pattern - Model examples

Thank you for this wonderful example. However, I see a couple of things missing. Having those will give us a more complete picture.

Stream<MyUserModel> userStream => FirebaseAuth
  .instance
  .onAuthStateChanged
  .map((user) => MyUserModel.fromFirebase(user));

String documentPath = 'my/document';
Stream<MyDocumentModel> documentStream = Firestore.instance
    .document(documentPath)
    .snapshots()
    .map((snapshot) => MyDocumentModel.fromFirebase(snapshot));

Can you add code that adds MyUserModel and MyDocumentModel?

working example provider pattern

hi David, great videos thanks very much! Could you possibly add the models used by the provider example + provide a complete / working app via Github (for the provider pattern walk through) ?

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.