My first encounter with Flutter was around one and half year ago. Back then it wasn't even versioned 1.0 yet. So much think to be taken into account when deciding to use it in a project.
Today, I was adviced by my friend to re-check this Framework as it is already mature enough. So I decided to give it 5 minutes to try. I visited its website and it has changed a lot since the last time I went there. I checked the docs, it has an adequate information to get started. So, I started to tingling with it more. Here my impression,
It is quite straightforward to start with, I followed this docs, https://flutter.dev/docs/get-started/install/macos, and it went smoothly. well, not so smooth though :P
Like any other SDK, I started to look for the Flutter SDK via brew. Yet, I couldn't find it. So I continue with downloadable SDK in the doc. Extracted it and run the
flutter doctor in the terminal. Here's what I got,
muhamad:Flutter ishlah$ flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale en-ID) [!] Android toolchain - develop for Android devices (Android SDK version 28.0.3) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses [!] Xcode - develop for iOS and macOS (Xcode 10.3) ✗ CocoaPods not installed. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install: sudo gem install cocoapods pod setup [!] Android Studio (version 3.5) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. [!] IntelliJ IDEA Ultimate Edition (version 2019.1.3) ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. [✓] VS Code (version 1.38.1) [!] Connected device ! No devices available
It's clearly that I had many things to fix. Anyway, just followed up the suggestion and it's good to go.
Next step is to try creating a simple app. I decided to use IntellijIDEA for this time, and generated a new Flutter project.
The project is an app to count when users hitting the FAB button. Then, I just run it. Here's the screenshot,
There you go! Not to bad for the second encounter. I know this couldn't summarize the whole things Flutter can do. But this encourage me to try to build another app in the near future.