On this page
How Flutter renders
Flutter builds interfaces with Dart widgets and its rendering architecture, not by displaying a website inside a WebView. Kotlin/Compose and Swift/SwiftUI applications instead build interfaces with their respective platform toolkits.
Here, native means those separate platform-native implementations. Flutter applications also contain native integrations and compile mobile release code to machine code, so native is not a synonym for legitimate or installed. The meaningful comparison concerns rendering, shared source, and ownership.
Flutter’s architecture describes a layered framework and engine that turn widget descriptions into a rendered interface. This lets products share substantial UI code across Android and iPhone. Developers should still evaluate platform behavior rather than assume every widget is a system-provided control.
Compose and SwiftUI are declarative too: state influences the interface description, and changes drive updates. Similar programming styles do not make the implementations identical. Each framework has distinct lifecycles, integration patterns, and platform responsibilities.
This Compose counter is a fragment for an existing Android project with Material 3. Call it inside the app’s themed composition. It demonstrates the native Android side without pretending to be a full build configuration or a cross-framework benchmark.
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.runtime.saveable.rememberSaveable
@Composable
fun Counter() {
var count by rememberSaveable { mutableStateOf(0) }
Button(onClick = { count++ }) {
Text("Count: $count")
}
}The counter establishes code shape and state ownership, not renderer speed. For a comparison, implement an equivalent Flutter interaction inside the intended application shell. Add navigation and realistic data before drawing conclusions about architecture.
A single embedded component does not categorize an entire app. Flutter can host web content for one purpose, just as Kotlin and Swift apps can. Finding a WebView tells you about that integration, not necessarily the main interface.
Platform feel
Flutter can support polished, platform-aware interfaces, while native toolkits provide direct starting points for platform conventions. Final feel depends on design and implementation, not just whether the application shares source.
Define what stays consistent and what adapts. Brand colors, terminology, and account rules may be common. Navigation, keyboard handling, selection, dialogs, and system interactions may need different treatment even when the workflow is shared.
Flutter supplies Material and Cupertino widget families and platform adaptations, but selecting widgets is not the end of the work. Test long labels, large text, assistive technology, and actual input. Visual resemblance to a platform does not establish correct behavior during navigation.
Native Compose and SwiftUI projects need the same care. Custom styling can obscure control behavior; poorly planned layouts can truncate content or break focus order. Platform tooling provides a foundation, not an accessibility certification or a guarantee of thoughtful design.
Create behavior checklists for both targets. Include Android back navigation, iPhone dismissal, permission prompts, interrupted edits, and returning from the background. Reflect users’ expectations instead of insisting on identical gestures across systems.
A shared Flutter UI is reasonable when the product intentionally uses a consistent custom design. Separate native implementations may fit when platform-specific interaction defines the product. Neither prevents branding or adaptation; they change how those responsibilities are organized and maintained.
App size and performance
Measure the actual application rather than assuming a universal Flutter size penalty or native performance advantage. Compare release artifacts and representative workflows under equivalent conditions.
Flutter carries framework and engine responsibilities, while native apps carry their own libraries, resources, and dependencies. Images, fonts, localizations, and third-party SDKs affect the result. Empty projects do not predict production download or storage requirements for a media-heavy application.
Separate download size, installed size, and runtime memory. They answer different questions and can vary with packaging and device configuration. Record exactly what was measured and avoid comparing a debug artifact with another stack’s optimized release.
Performance includes launch, interaction latency, scrolling, memory, and energy. Smooth animation can coexist with unnecessary network requests; fast launch can coexist with memory growth during repeated navigation. Choose measurements that correspond to expected session lengths and actual user problems.
Flutter’s performance documentation covers speed, memory, app size, and energy, explicitly expecting profiling and optimization. Native developers have the same responsibility even though their tools and particular bottlenecks differ. Neither approach removes the cost of understanding the workload.
Use a lower-powered target phone, realistic data, and repeatable actions. Try long lists, large photos, rapid input, and interrupted network activity. Keep server responses and processing requirements comparable so backend differences do not become supposed framework results.
Identify expensive work before discarding an architecture. Repeated conversions, excessive image resolution, and poorly timed computation may be fixable independently of the interface stack. If repairs need expertise you cannot maintain, include that operational constraint in the decision.
Create a measurement note for each experiment. Record the device, operating-system build, application configuration, dataset, and sequence of actions. Repeat the sequence and retain observations rather than only reporting the most favorable run. This makes a later improvement or regression easier to interpret when dependencies or application requirements change.
A size investigation should first identify what is actually large. Review bundled images, fonts, translations, and unused resources before attributing the entire result to the framework. Similarly, investigate growing memory over a repeated workflow instead of comparing one snapshot taken immediately after launch. Different measurements often point to different remedies.
Include perceived quality in the acceptance criteria without disguising it as an objective benchmark. Users should understand when a request is running, whether an action succeeded, and how to recover after failure. Clear progress and stable layouts can improve the experience, but they should accompany rather than conceal investigation of genuinely slow operations.
Plugins and native APIs
Flutter reaches platform capabilities through integrations and platform-specific code, while Kotlin and Swift can call their platform APIs directly. Evaluate whether the exact capability works reliably and who will maintain the connection.
A plugin is a dependency with lifecycle responsibilities, not a feature checkbox. Check supported platforms, operating-system versions, error reporting, permission behavior, and maintenance. A camera preview package may not support the capture workflow that matters to your product.
Flutter’s platform integration guidance describes communicating with host code and generating structured bindings. As of November 2026, its channel documentation retains platform channels for message passing and discusses generated binding options. Check current guidance rather than choosing an integration solely from an old tutorial.
When a plugin is insufficient, custom Kotlin or Swift can be a valid part of a Flutter application. The trade-off is ownership of that layer’s engineering, testing, and upgrades. Shared UI does not necessarily mean nobody needs platform expertise.
Separate native projects depend on external SDKs and evolving APIs too. Direct calls can simplify debugging by removing an integration boundary. They do not remove permissions, lifecycle handling, or the need to replace incompatible dependencies.
Prototype device interaction in isolation, then test it within real navigation. Exercise denial, cancellation, changed settings, interruptions, and repeated use. An isolated call is not sufficient if the app loses unfinished work when control returns.
Keep private credentials out of the client regardless of framework. Server authorization must not trust the installed application merely because its UI was written natively. Rendering architecture and language choices do not replace a backend security model.
When to pick each
Consider Flutter when shared UI fits the product and maintainers can own Dart plus platform integrations. Consider separate native projects when platform-specific behavior and direct toolkit ownership outweigh repeated interface implementation.
| Priority | Flutter | Separate native projects |
|---|---|---|
| Consistent custom mobile design | Coordinate shared widget changes | Implement equivalent designs independently |
| Deep platform workflows | Check plugins or plan host code | Direct APIs may simplify ownership |
| Android-only release | Sharing value depends on real future scope | Kotlin/Compose matches the immediate target |
| Apple-first release | Verify integrations and Apple behavior | Swift/SwiftUI keeps direct Apple UI ownership |
| Long-term maintenance | Own Dart, upgrades, and integration boundaries | Own both stacks and product coordination |
Use a weighted risk list rather than a popularity contest. Uncertain support for a specialized integration may outweigh many shared account screens. A product with common workflows may instead prioritize shared implementation and accept a small native extension.
Ask a future maintainer to build and debug the prototype from documented setup. Include a dependency change or integration repair. This reveals whether the approach remains maintainable beyond its original demonstration, and whether required skills actually exist.
Apirex generates Kotlin/Compose Android projects and Swift/SwiftUI Apple projects, not Flutter projects. Android and iPhone use separate source; they can connect to one backend deliberately, but interface edits do not automatically transfer between them.
Record the decision, tested devices, and assumptions. Revisit the trade-off if a common custom interface becomes a deeply platform-specific product. A deliberate choice today does not require declaring the alternative unsuitable for everyone or permanently ruling out future changes.
Frequently asked questions
Is Flutter a WebView wrapper?
No. Flutter uses Dart, widgets, and its rendering architecture. An individual screen can embed web content without defining the whole framework as a wrapper.
Does Flutter eliminate Kotlin and Swift?
Not necessarily. Existing integrations cover many needs, while specialized capabilities may need platform-specific code. Plan who owns that work.
Are native apps always smaller?
Do not assume a universal result. Compare release download and installed sizes for equivalent features, resources, and target devices.
Can Flutter feel appropriate on both platforms?
Yes, with deliberate platform-aware design and testing. Shared code does not require identical interactions, and native tools do not automatically guarantee good behavior.
What prototype is most useful?
Choose the highest-risk device capability and put it in an end-to-end workflow. Include denial, interruption, and recovery alongside success.
All guides
Native foundations
Build with AI
- How to build an Android app with AI
- How to build an iOS app with AI
- How to build an iPad app with AI
- How to build a Mac app with AI
- How to build an app without coding
- Prompts that produce good apps
- Local AI app builder: build apps on your own computer
- How to add payments to your app
- Gradle build failed: common fixes
Google Play
Apple distribution
Build it on your own computer
Describe the app and Apirex writes real source you own, then builds it on your machine.
Opens Apirex with this prompt. Pick the Android · Kotlin tab before you send. The Free plan includes 5 Rex Credits a day.