flutter_screen_responsive_legacy library

Deprecated v1 API for the flutter_screen_responsive package.

⚠️ This file is deprecated. Use the v2 InheritedWidget-based API from the main barrel file instead:

import 'package:flutter_screen_responsive/flutter_screen_responsive.dart';

The v1 API uses global static state (ResponsiveUtils) and does not support local breakpoint overrides. It will be removed in a future major release.

Classes

Breakpoints
Defines a responsive breakpoint rule.
REdgeInsets
REdgeInsetsDirectional
Responsive
Layout builder that chooses the appropriate UI for the active DeviceType.
ResponsiveBreakpointConfig
Holds a complete breakpoint configuration (global or local override).
ResponsiveInit
Top-level initializer that registers breakpoints and wires up flutter_screenutil.
ResponsiveUtils
Utilities for managing breakpoint configuration and deriving the active DeviceType from a screen width.
RPadding
RSizedBox

Enums

DeviceType
mobileSmall < mobile < tabletSmall < tablet < desktop < desktopLarge

Extensions

BorderRadiusExtension on BorderRadius
BoxConstraintsExtension on BoxConstraints
EdgeInsetsExtension on EdgeInsets
RadiusExtension on Radius
SizeExtension on num
App-provided extensions that wrap flutter_screenutil so you can use ergonomic helpers like .w, .h, .sp, spacing widgets, and adapters for EdgeInsets, BorderRadius, Radius, and BoxConstraints.