bones_ui_bootstrap
5.3.2, released 2 weeks ago by an unverified publisher
Adds Bootstrap 5 components and CSS integration to the Bones_UI Dart package.
WASM-ready
What it does
The package bundles Bootstrap 5 JavaScript and CSS, providing ready‑to‑use Bootstrap widgets like accordions, navbars, and date range pickers for Bones_UI. It also includes SCSS sources for custom theming and a compatibility layer for Bootstrap 4 styles.
AI-written summary of version 5.3.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Bootstrap‑styled UI components in a web‑only Dart app using Bones_UI
- You want to customize Bootstrap SCSS themes without adding manual HTML/JS
Skip it when
- You are building for mobile platforms only
- You prefer a pure Flutter widget library without external CSS/JS dependencies
Strengths
- Seamless Bootstrap integration with Bones_UI
- Bundled JS/CSS and SCSS for easy theming
- Provides Bootstrap 4 compatibility layer
Weaknesses
- Web‑only; not usable on mobile or desktop Flutter apps
- Relies on external Bootstrap assets, increasing bundle size
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 8
import 'package:bones_ui/bones_ui_kit.dart';
import 'package:bones_ui_bootstrap/bones_ui_bootstrap.dart';
class MyUI extends UIRoot {
MyUI(super.rootContainer);
@override
void configure() => Bootstrap.load();
@override
UIComponent renderContent() => $div(classes:'container',content:'Hello Bootstrap');
}
void main(){
var out=document.querySelector('#output');
MyUI(out).initialize();
}Alternatives
Packages that do the same job and could replace bones_ui_bootstrap.
- storyly_flutter
Official Flutter package of Storyly to easily add stories to your app.
74Compare
Works with
Packages commonly used together with bones_ui_bootstrap: ones it builds on, ones built on it, and its own family.
- webbones_ui_bootstrap depends on itLightweight bindings for browser APIs via JS interop
- swiss_knifebones_ui_bootstrap depends on itCollection of Dart utility tools for collections, math, date, URI, JSON, events, and resources.
- intl_messagesbones_ui_bootstrap depends on itMessage internationalization and localization framework with OpenAI translation tools integration.
- dom_builderbones_ui_bootstrap depends on itGenerate and manipulate virtual or real DOM elements, DSX, and HTML declarations.
- bones_uibones_ui_bootstrap depends on itAn intuitive and user-friendly Web User Interface framework for Dart.
- dom_toolsbones_ui_bootstrap depends on itDOM rich elements and tools for CSS, JavaScript, Element Tracking, DOM Manipulation, and Storage.
- web_utilsbones_ui_bootstrap depends on itDart extensions for web development, improving JavaScript interop and the web package.
- amdjsbones_ui_bootstrap depends on itDart package to load JavaScript libraries that use AMD (RequireJS) in web apps.