getActiveBreakpoints method
Get enabled breakpoints based on orientation and platform.
Implementation
List<ResponsiveBreakpoint> getActiveBreakpoints() {
// If the device is landscape enabled and the current orientation is landscape, use landscape breakpoints.
if (isLandscape) {
return widget.breakpointsLandscape ?? [];
}
return widget.breakpoints ?? [];
}