Skip to content
pubscout

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
$ flutter pub add bones_ui_bootstrap
Source repository

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.

Works with

Packages commonly used together with bones_ui_bootstrap: ones it builds on, ones built on it, and its own family.