How feasible is a dev setup with Flutter where one uses Emacs (or any other general purpose text editor like vi) for coding and the flutter cli for compiling and testing? I do have a couple app ideas, and I'd definitely prefer to avoid the IDEs when possible (especially Android Studio which just strangles my laptop); Flutter seems to fit that workflow, but has anybody got actual experience doing that?
I use Emacs, and I'm one of the lead contributors to Flutter. Hopefully that answers your question. :-) We have various tools that can help you configure your setup without an IDE. For example, `flutter run` listens to SIGUSR1 to do a hot reload, `flutter analyze` has a flag to write the latest results to a file, etc.
Show HN: InKino – An open-source movie app made with Flutter
41–44 of 44 posts
Re: Show HN: InKino – An open-source movie app made with Flutter
#42Earlier quoted context omitted.
I've been using Flutter for a year now, and I've loved it since the first time I gave it a try. In my work, I've been using other cross-platform technologies, such as Xamarin and React Native briefly (actually currently doing a customer project with RN). In my experience, RN is not that bad and mostly gets the job done, but I've grown to like Flutter more. The tooling and documentation are top-notch ("it just works")…
I've been starting work with Flutter over the past couple weeks. The tooling and general experience so far has been pretty nice, though it doesn't always "just work". The fact that flutter is so coupled to Cocoapods is a disappointment and it means your build system is dependent on Cocoapods not screwing up - quite a tall order. I already ran into an issue that required me to generate a new project, copy my source ov…
I must have been spoiled by Flow, Typescript, Kotlin, and Rust, because this (having null implicitly be a member of every type rather than a separate type) has been the major factor in my decision to avoid playing with Dart yet. It's so nice to not have to often manually re-check functions I'm editing to see whether or not each of the parameters are supposed to handle null, and to not have to document that in comments (the same way you usually end up documenting types in a dynamically typed language; this is what I'm using a typed language to get away from!).
Re: Show HN: InKino – An open-source movie app made with Flutter
#43How feasible is a dev setup with Flutter where one uses Emacs (or any other general purpose text editor like vi) for coding and the flutter cli for compiling and testing? I do have a couple app ideas, and I'd definitely prefer to avoid the IDEs when possible (especially Android Studio which just strangles my laptop); Flutter seems to fit that workflow, but has anybody got actual experience doing that?
I use Emacs, and I'm one of the lead contributors to Flutter. Hopefully that answers your question. :-) We have various tools that can help you configure your setup without an IDE. For example, `flutter run` listens to SIGUSR1 to do a hot reload, `flutter analyze` has a flag to write the latest results to a file, etc.
If you're after code completion, vim-lsc plugin combined with dart_language_server should work.
Re: Show HN: InKino – An open-source movie app made with Flutter
#44Earlier quoted context omitted.
Thanks. Is having XCode necessary in order to build and publish for iOS (I guess yes)? I don't use apple computers and use linux, so if that's the case I'd need to buy a Mac and XCode to do so, no?
For iOS apps, you need a Mac. Maybe (and this is theoretical) you could set up a combined Fastlane & CI integration that builds the apps using some cloud service, such as Macincloud, Bitrise, etc. Fastlane would then build and upload the iOS test builds automatically so can use them on your phone using the internal testing group in TestFlight. When everything seems fine, then you can just promote the internal test bu…
The Flutter project itself does it at https://github.com/flutter/flutter/blob/master/examples/flut.... You can then self-add to your TestFlight and check that way. Though you can't debug.
You can also get around it using just a Linux and an Android device. You can press 'o' after you flutter run to change the platform on the fly to get iOS scroll physics, page transitions etc etc. But again, testing on the devices your users will be using is more ideal.
[disclaimer: I'm on the Flutter team]