flutter_bootstrap
2.0.0, released 5 years ago by didierboelens.com
Partial Bootstrap Grid implementation for Flutter responsive layouts.
WASM-ready
What it does
Provides Bootstrap‑style grid widgets (Container, Row, Col, Visibility) and helper methods for responsive design. It supports Bootstrap4 grid classes and conditional visibility based on screen width.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a familiar Bootstrap‑like grid system in Flutter
- You want to build responsive UIs with breakpoints and column offsets
- You prefer declarative widget composition over manual layout calculations
Skip it when
- You require full Bootstrap feature parity (e.g., utilities, components beyond grid)
- You need advanced layout features like flexbox customizations not covered by the grid
Strengths
- Easy to adopt for developers familiar with Bootstrap
- Built‑in support for breakpoints, offsets, and order
- Declarative API fits Flutter’s widget model
Weaknesses
- Partial implementation – missing many Bootstrap utilities
- Limited to grid and visibility; no other Bootstrap components
- Documentation and examples are minimal
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:flutter_bootstrap/flutter_bootstrap.dart';
BootstrapContainer(
child: BootstrapRow(
children: [
BootstrapCol(
xs: 12,
md: 6,
child: Text('Column 1'),
),
BootstrapCol(
xs: 12,
md: 6,
child: Text('Column 2'),
),
],
),
);Alternatives
Packages that do the same job and could replace flutter_bootstrap.
- responsive_framework
Provides a more comprehensive responsive layout system with breakpoints and adaptive widgets
50Compare - responsive_builder
Offers a similar grid‑like API and additional utilities for responsive design
50Compare