Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Donny Velazquez
@donnyv
So while the app is running?
Adam Barth
@abarth
yep
Eric Seidel
@eseidelGoogle
I'm curious what "dynamically create widgets" means to you @donnyv?
Donny Velazquez
@donnyv
well I'm thinking that a user signs in and the app gets a json package which will give the user different forms they created on the desktop.
the form get created on the fly in the app based on the json package
Adam Barth
@abarth
that should work
Donny Velazquez
@donnyv
sweet!
Adam Barth
@abarth
you'll need to write the code that decides what the JSON means
Donny Velazquez
@donnyv
Of course
I was looking at Xamarin for this but it was just not happening. It seems Flutter is much more flexable
Eric Seidel
@eseidelGoogle
@donnyv https://github.com/flutter/flutter/tree/master/packages/flutter_markdown is a package which knows how to read markdown files and render them with trees of flutter widgets. It might provide some inspiration for you.
Donny Velazquez
@donnyv
This is it right here! I can use it as a reference when I do my own json parser.
I know this in tech preview right now, so its not suggested to do production apps. But do you think the api will change that drastically when it goes to v 1.0?
is the list of API changes we're working through
the hope is for the API to settle down once we get through those
we've got 14 left out of 134, so we're getting close
Donny Velazquez
@donnyv
nice, well then I might as well start now and by the time I'm starting to get deep this should hopefully be close to 1.0
Thanks!
Eric Seidel
@eseidelGoogle
@donnyv it all comes down to your needs. :) We should probably update the label give flutter on the homepage. There are some big arcs of work left (like finishing accessibility support and internationalization), but there are already Flutter apps shipping today (both at Google and on the public stores)
Several authors of said apps hang around this channel
https://itunes.apple.com/nz/app/newsvoice/id1208421834?mt=8 is one which just launched a few weeks back for example
Donny Velazquez
@donnyv
nice!
Ian Hickson
@Hixie
flutter/flutter#9565 <- placeholder widget
taylorren
@taylorren
@eseidelGoogle Thanks for the hint.
Darrell Pfeifer
@darrellpf
Is is possible to turn on Java support in an Intellij project? For a platform project, there is no Java syntax help, such as method call help after typing a "."
Adam Barth
@abarth
I thought there was an email about supporting that
blehn
@blehn
is there a way to use hot reload with "flutter run --release", or to run from IntelliJ in release mode?
Adam Barth
@abarth
nope
Eric Seidel
@eseidelGoogle
So intellij --release mode is in the works
hot-reload only works in --debug mode
(by design)
Adam Barth
@abarth
release uses the AOT compiler, which is better for production but doesn't support hot reload
blehn
@blehn
rats
Eric Seidel
@eseidelGoogle
Launching in --profile or --release mode from intellij looks to be flutter/flutter-intellij#930
Adam Barth
@abarth
why do you want to hot reload release mode?
Eric Seidel
@eseidelGoogle
looks like it worked but was disabled
blehn
@blehn
I was thinking that debug mode is reduced performance... wrong?
Eric Seidel
@eseidelGoogle
It makes tradeoffs to optimize for ease of development, including some performance, yes
for example --debug turns on asserts which are useful, enables the JIT compiler (which makes hot-reload possible) and enables the debugger (which is insecure to ship with, but useful for debugging) and various other tradeoffs.
Adam Barth
@abarth
there's another mode we could expose
which is JIT without asserts
we just don't expose it to keep the matrix of configurations under control
otherwise it gets too confusing
Eric Seidel
@eseidelGoogle
lol. "under control". Our matrix is impressive as-is. :)
@blehn https://github.com/flutter/flutter/wiki/Flutter%27s-modes is a wiki page on the --debug vs. --release divide
blehn
@blehn
Thanks guys. I guess what's important to me is that debug mode isn't hampering scrolling, animations, etc... because I'd want to be able to evaluate that type of performance, without losing hot reloading.
Eric Seidel
@eseidelGoogle
@blehn which config are you using? simulator? device?