Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Eric Seidel
@eseidel
particularly what version you were upgrading from -> to if you have that
Viktor Lidholt
@vlidholt
I'll see if I can figure out there version difference. Maybe it's less well synched with the screen refresh our something
Viktor Lidholt
@vlidholt
Posted an issue here: flutter/flutter#9541
Leonard B. Papilaya
@ramose
Hi all. I'm new to Flutter and Dart. Are there any tutorial how to make a listview and fill it with data from json?
Eric Seidel
@eseidelGoogle
@ramose I'm not aware of one, but https://github.com/flutter/flutter/tree/master/examples/stocks does something similar
@ramose flutter/flutter#9236 is a request for more docs along that line
Leonard B. Papilaya
@ramose
@eseidelGoogle Thanks!
Rafal Wachol
@charafau
@ramose I don't know much about flutter but I have done this some time ago https://github.com/charafau/u2020d
Might help
Eric Seidel
@eseidel
@ramose this person has a whole video series on flutter: https://www.youtube.com/channel/UC9EOyw-hs_rOOvKHWeJ4B2Q
@charafau let us know if you ever publish that and I’ll add it to my spreadsheet :D
Rafal Wachol
@charafau
@eseidelGoogle i didn't think about publishing it. I I've done it just to compare the 'development feeling' of many frameworks (I've done the same app with kotlin, scala, react native and flutter) :)
Eric Seidel
@eseidel
@charafau if you ever have any thoughts to share, we’d love to hear them :)
email, issues, chat, however :)
Rafal Wachol
@charafau
Sure! The biggest problem I have so far was widget positioning
I had to use many nested layouts, but that might be due to my lack of knowledge
@eseidelGoogle I was actually thinking, how hard would that be to use the engine from C ?
Eric Seidel
@eseidel
I’m not sure what that would mena?
The engine is a (relatively) small ball of C++ code: https://github.com/flutter/engine
it has 3 big pieces: the Dart Runtime, the Skia 2d graphics api, and a forked (and very stripped down) copy of Chrome’s text engine
Rafal Wachol
@charafau
I was thinking about writing small gui lib for C, rust for fun. From what I've seen all widgets are drawn in dart, but C engine is a renderer
Eric Seidel
@eseidel
The engine just knows the (C++ side of) the Dart runtime (GC, etc.), a copy of Skia (with only the hardware/opengl backend compiled in) and the stripped down text layout bits previously mentioned
if you’re writing a c/rust gui libary I doubt you’d start from Flutter’s engine :)
Rafal Wachol
@charafau
Ah, I thought I could reuse some part of it
Eric Seidel
@eseidel
we’re looking at replacing the text layout bit and that’s the only non-off-the-shelf component
well, we stripped down the dart and skia bits some, but nothing you couldn’t replicate by looking at our GN configs
I guess there is some android and iOS integration you could re-use
Writing these things is really hard, btw. :D
Mostly the pulling the whole product together is hard.
endless miles of details.
Rafal Wachol
@charafau
I know it's hard :)
I wasn't thinking about anything fancy, just for fun
Eric Seidel
@eseidel
https://github.com/eseidel/lolsim is my for-fun dart project. :D
although I don’t get a lot of time to work on it
Rafal Wachol
@charafau
I've never played LoL I'm more like a counter strike guy :D
Leonard B. Papilaya
@ramose
@charafau Thanks!
eseidel @eseidel is sad that this is 2017 and JavaScript (and thus Dart’s) regexps don’t support named capture
Eric Seidel
@eseidel
not that it really matters, but would be nice.
Rafal Wachol
@charafau
I'm waiting for web assembly ;)
Günter Zöchbauer
@zoechi
web assembly doesn't look very promising
Rafal Wachol
@charafau
Why is that ?
Günter Zöchbauer
@zoechi
haven't seen anything about web assembly that looks promising
except if you have legacy code that you want to run in the browser
Rafal Wachol
@charafau
Or maybe JavaScript will die finally ;)
Günter Zöchbauer
@zoechi
looks like the least likely outcome of all possiblities
taylorren
@taylorren
Hi all!
I am very new to Flutter and Android.
Valentyn Shybanov
@olostan
Hello, @taylorren
taylorren
@taylorren
I am designing a Card and want to make the texts wrapped (in a few lines).
Valentyn Shybanov
@olostan
That's not an issue, Flutter team create awesome guides and tutorials!
taylorren
@taylorren
I tried to look at the demo (Gallery-Card) to seek some hints but not successful.