BreakpointService class final
Service for managing screen size breakpoints and responsive design.
This service provides methods to:
- Configure custom breakpoint thresholds
- Determine the current breakpoint based on screen width
- Access the current breakpoint configuration
Constructors
Properties
- config → BreakpointConfiguration
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBreakpoint(
BuildContext context) → Breakpoint - Gets the current Breakpoint based on the screen width.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
configure(
BreakpointConfiguration config) → void - Configures custom breakpoint thresholds for the application.