utils/responsive_breakpoints
library
Classes
-
BreakpointValue<T>
-
A helper class that allows assigning values based on the current device type
(phone, tablet, or computer).
Enums
-
Breakpoint
-
Enum that represents different breakpoints for responsive design.
Each breakpoint corresponds to a specific screen width.
Extensions
-
BreakpointExtensions
on Breakpoint
-
Extension methods for the
Breakpoint enum to provide additional
functionality such as converting breakpoints to screen sizes,
checking device type, and comparing breakpoints.
Functions
-
describeEnum(Object enumEntry)
→ String
-
Converts an enum entry to a string by stripping the enum type name.
This method is used to return the name of the enum value without
its type prefix.