breakify library
Breakify is a lightweight responsive layout package for Flutter.
It provides responsive widgets, responsive values, and utilities to build adaptive interfaces for mobile, tablet, and desktop.
Import this library to access the complete public API.
import 'package:breakify/breakify.dart';
Classes
- BreakifyAdaptativeLayout
- A responsive layout that automatically switches between a vertical and horizontal arrangement.
- BreakifyBreakpoints
- Defines the width thresholds used to resolve responsive breakpoints.
- BreakifyBuilder
- Builds widgets using the current responsive breakpoint.
- BreakifyContainer
- Centers its child and constrains its maximum width.
- BreakifyDebugBanner
- Displays an overlay showing the current responsive breakpoint.
- BreakifyFluidValue
- Represents a responsive value that scales smoothly across breakpoints.
- BreakifyGrid
- A responsive grid that automatically adapts its layout to the available screen width.
- BreakifyListView
- A responsive list view with configurable spacing and separators.
- BreakifyScope
- Makes responsive breakpoint information available to the widget tree.
-
BreakifyValue<
T> - A responsive value that resolves different values at different breakpoints.
- BreakifyVisibility
- Shows or hides its child based on the current breakpoint.
Enums
- BreakifyBannerCorner
- Defines the available positions for the debug banner.
- BreakifyBreakpoint
- Defines the responsive breakpoints available in Breakify.
Extensions
- BreakifyContext on BuildContext
- Extension methods that expose responsive information from the nearest BreakifyScope.
Typedefs
- BreakifyBuilderCallback = Widget Function(BuildContext context, BreakifyBreakpoint breakpoint, BoxConstraints constraints)
- Signature for the builder function used by BreakifyBuilder.