We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

gandharv • 5 years ago

One more thing i would like to add is using

flutter run --verbose

for whenever your build fails to get more info on the error

schiffbruechige • 5 years ago

Hi Remi! I'm interested in more of this project, any idea if/when you'll continue it?

While I'm here, is there a good article anywhere on the /packages style of code layout? I went on a search and couldn't find much about it

Remi Rousselet • 5 years ago

Hello, yes – but after some work on Riverpod

Bill Noel • 5 years ago

Well done, Remi. Learned a lot.

Ryan Edge • 5 years ago

Wondering how you commonly find yourself structure your monorepo? By type, domain, feature/route, etc...

Krishnakumar R • 5 years ago

Thanks for this Awesome Article Remi brother. First time I heard and learnt about linter and analyzer.

Botan Abdullah • 5 years ago

Very interesting, now I have another view on how to create my future Flutter projects.

Vic • 5 years ago

Wonderful article. I still remember myself swearing at my computer while I was trying to understand some runtime errors caused by tricky implicit casts.

Looking forward to your next one

Pierre Canthelou • 5 years ago

Hi,

Thanks for your code, it is always inspirational :)

On my way to learning and completing a bootstrap for Flutter apps, I've read this article https://medium.com/flutter-... about analysis_options that can be read along your own article.

I have also digged another config file that come with documentation, dartdoc_options.yaml, that is not really well documented. If you agree I can share it with you...

ELHE • 5 years ago

Attention to detail is equally important. Great tips, thanks!

EDIT:

I've tried using the snippet you used on the analysis_options file and something interesting happened:


analyzer:
strong-mode:
implicit-casts: false
implicit-dynamic: false

When using this configuration with Provider package, it gives us this error:

Provider.of<color>(context)
The argument type 'Color' can't be assigned to the parameter type 'MaterialColor'.

Trey Rosius • 5 years ago

Wow, this is a rare gem. Some next level stuff . Thanks for this Remi

Thomas Burkhart • 5 years ago

Remi, this is an awesome article. Exactly the stuff that you don't find in this way in the official documentation.

Jeremy • 5 years ago

Thank you so much for this, Remi!