float_column
4.2.1, released 5 weeks ago by ronbooth.com
Builds a vertical column where text wraps around floated widgets, similar to CSS float.
WASM-ready
What it does
Provides a FloatColumn widget and Floatable elements that allow text, RichText, and WrappableText to flow around left- or right-aligned widgets. It supports clearing floats, padding, margins, first-line indents, and text selection.
AI-written summary of version 4.2.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need CSS-style float and clear layouts in Flutter apps.
- You want text to wrap around embedded images, logos, or drop caps.
Skip it when
- You only need standard linear vertical and horizontal stacking (standard Column and Row suffice).
Strengths
- Supports right-to-left text direction automatically.
- Works with Flutter text selection and screen reader accessibility.
- Supports nested FloatColumn widgets.
Weaknesses
- Does not replace complex grid layouts (use staggered grid instead).
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
FloatColumn(
children: [
const Floatable(float: FCFloat.start, child: FlutterLogo(size: 80)),
const Text('Text children wrap around floated siblings too.'),
],
)Alternatives
Packages that do the same job and could replace float_column.
- flutter_staggered_grid_view
Pick if you need complex multi-column grid layouts rather than CSS-like inline text floating.
50Compare
Works with
Packages commonly used together with float_column: ones it builds on, ones built on it, and its own family.