optimus
0.45.0, released 5 weeks ago by mews.com
A design system providing reusable UI components for Flutter mobile and web.
What it does
Optimus supplies a collection of styled widgets, design tokens, and layout helpers that can be dropped into a Flutter app. It focuses on mobile first but includes web support. The package ships with a storybook for visual reference.
AI-written summary of version 0.45.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a consistent, branded UI across a Flutter app
- You want to prototype quickly with pre‑styled components
- You prefer a single source of truth for colors, typography, and spacing
Skip it when
- You only need a few custom widgets and want to avoid a large dependency
- You target only web or only iOS/Android and need platform‑specific widgets
Strengths
- Comprehensive component library
- Design tokens keep styling consistent
- Active maintenance and frequent updates
- Supports multiple platforms
Weaknesses
- Large bundle size
- Limited to Flutter (no native iOS/Android SDKs)
- Web support is low priority
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 7
Add to pubspec, import package, no build_runner needed
import 'package:optimus/optimus.dart';
class MyPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return OptimusScaffold(
title: 'Home',
body: Center(child: OptimusButton(label: 'Click me')),
);
}
}Alternatives
Packages that do the same job and could replace optimus.
- material_ui
Provides Material Design widgets with theming support
94Compare - cupertino_ui
Offers Cupertino styled widgets for iOS look and feel
93Compare
Works with
Packages commonly used together with optimus: ones it builds on, ones built on it, and its own family.
- intloptimus depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- flutter_svgoptimus depends on itRenders Scalable Vector Graphics (SVG 1.1) and precompiled vector graphics in Flutter.
- freezed_annotationoptimus depends on itAnnotations for the freezed code-generator.
- flutter_slidableoptimus depends on itFlutter implementation of slidable list item with directional slide actions and dismissal.
- theme_tailor_annotationoptimus depends on itAnnotations for Theme Tailor code generator, no runtime logic.
- dfuncoptimus depends on itLightweight and practical functional programming features for Dart.