Flutter FAQ – Features (Part 2)
This Flutter FAQ covers why developers share layout code across iOS and Android, how to interoperate with native languages, the lack of a reflection system, guidance on internationalization, concurrency with isolates, background execution, supported data formats, 3D limitations, app size concerns, and Chromebook support.
Question 1: Why share layout code between iOS and Android apps?
Developers can implement different layouts per platform, but many prefer sharing UI code because design trends are converging, brand‑driven aesthetics dominate, and common patterns like bottom navigation appear on both platforms.
Question 2: Can I interoperate with the default programming languages of the mobile platforms?
Yes. Flutter can call Android Java/Kotlin or iOS Objective‑C/Swift via BasicMessageChannel . See the BasicMessageChannel documentation and the platform channels guide . Example project: platform channel example .
Question 3: Does Flutter include a reflection/mirror system?
Currently no. Flutter disables dart:mirrors to keep binary size small. Feedback on reflection needs can be sent to [email protected] .
Question 4: How to implement internationalization (i18n), localization (l10n) and accessibility (a11y) in Flutter?
Internationalization & localization tutorial: flutter.dev/docs/development/accessibility-and-localization/internationalization
Accessibility documentation: flutter.dev/docs/development/accessibility-and-localization/accessibility
Question 5: How can I develop parallel or concurrent Flutter applications?
Flutter supports isolates, which are independent heaps running in parallel (usually as separate OS threads) and communicate via asynchronous messages. No shared‑memory parallelism yet; solutions are being evaluated. Example: isolate example .
Question 6: Can I run Dart code in the background of a Flutter app?
Yes, Dart code can run in background processes on iOS and Android. See the article on using Flutter plugins and geofencing: Executing Dart in the background .
Question 7: Can I use JSON, XML, protobufs, etc., in Flutter?
Absolutely. The Pub site hosts many packages for JSON, XML, protobufs, and other formats. See pub.dev and the JSON tutorial: flutter.dev/docs/development/data-and-backend/json .
Question 8: Can I build 3D (OpenGL) apps with Flutter?
Flutter currently does not support OpenGL ES or similar 3D mechanisms; a long‑term plan exists, but the focus remains on 2D rendering.
Question 9: Why is my APK or IPA so large?
Resources such as images, audio, and fonts often dominate size. Use Flutter’s release build tools to reduce size. References: Android release guide , iOS release guide .
Question 10: Can Flutter apps run on Chromebooks?
Yes, some Flutter apps already run on Chromebooks, and the team continues to track support. See the issue label: platform‑arc .
Sohu Tech Products
A knowledge-sharing platform for Sohu's technology products. As a leading Chinese internet brand with media, video, search, and gaming services and over 700 million users, Sohu continuously drives tech innovation and practice. We’ll share practical insights and tech news here.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.