masamune_universal_ui
3.4.1, released 9 days ago by mathru.net
A responsive universal UI framework package for writing platform-independent code.
What it does
Provides a collection of responsive widgets like UniversalScaffold, UniversalAppBar, UniversalColumn, and UniversalListView that automatically adjust padding and layouts across mobile, web, and desktop. Uses a 12-column grid system inspired by Bootstrap.
AI-written summary of version 3.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a single codebase to target web, mobile, and desktop platforms seamlessly.
- You are already using the Masamune framework in your application.
- You need a Bootstrap-like 12-column responsive layout system in Flutter.
Skip it when
- You want pure, platform-native Cupertino or Material designs without custom layout abstractions.
- You are not using the Masamune framework and want an independent UI package.
Strengths
- Reduces code duplication across web, desktop, and mobile devices.
- Familiar Bootstrap-inspired 12-column grid system via Responsive widgets.
- Built-in support for iPadOS window controls avoidance.
Weaknesses
- Tightly coupled to the Masamune framework ecosystem.
- Requires learning custom wrapper widgets instead of standard Flutter components.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
Initialize by passing UniversalMasamuneAdapter to masamuneAdapters in runMasamuneApp along with the masamune package.
Widget build(BuildContext context, PageRef ref) {
return UniversalScaffold(
appBar: UniversalAppBar(title: Text("Title")),
body: UniversalColumn(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text("User Name")
],
),
);
}Alternatives
Packages that do the same job and could replace masamune_universal_ui.
- responsive_framework
If you need an independent package to automatically scale and adapt UIs across different screen sizes without rewriting your standard Scaffold and widgets.
50Compare - responsive_builder
If you prefer explicit layout builders for different screen size breakpoints rather than a bootstrap-like grid component library.
50Compare
Works with
Packages commonly used together with masamune_universal_ui: ones it builds on, ones built on it, and its own family.
- url_launchermasamune_universal_ui depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- shimmermasamune_universal_ui depends on itPaints a moving highlight over skeleton placeholders and call-to-action text.
- masamunemasamune_universal_ui depends on itA Flutter framework that uses code generation to scaffold apps with built‑in state, routing, forms and theming.