brics library

Classes

Bric
Bric calculates its width based on the specified column settings and breakpoints.
Brics
Brics container with optional width control. In case of error "LayoutBuilder does not support returning intrinsic dimensions": try to set Brics width parameter or wrap parent widget in SizedBox with specified width.
BricsBreakpointsConfig
Configuration for breakpoints.
BricsConfig
Global configuration for Brics. If local values are provided in Brics, they override these defaults.
BricsSize
Helper class to check current breakpoint conditions.

Enums

BricWidth
Enum for breakpoints.

Extensions

BricsSizeExtension on BuildContext
Extension for quick access to BricsSize via BuildContext. Usage example: context.bricsSize.isEqual(BricWidth.md)

Constants

defaultBricsBreakpoints → const BricsBreakpointsConfig
Default breakpoints configuration. You can override it by passing in the BricsConfig.

Typedefs

BricBuilder = Widget Function(BuildContext context, double width)
BricBuilder is a function type that provides the computed width to its builder.