core/responsive/methods library

Functions

isExtraLargeScreen(BuildContext context) bool
Checks if the screen size is considered extra-large (width > 1100).
isLargeScreen(BuildContext context) bool
Checks if the screen size is considered large (800 < width <= 1100).
isMediumScreen(BuildContext context) bool
Checks if the screen size is considered medium (400 < width <= 800).
isSmallScreen(BuildContext context) bool
Checks if the screen size is considered small (width <= 400).
responsiveCount(BuildContext context, {required double contentWidth}) int
Determines the current screen size based on the width using the provided condition.
responsiveSize(BuildContext context, {required double s, double? m, double? l, double? xl}) double
Determines the current screen size based on the width using the provided condition.