resolve method

T resolve(
  1. BuildContext context
)

Resolve the value for the current screen width.

Implementation

T resolve(BuildContext context) {
  final width = MediaQuery.of(context).size.width;
  final breakpoint = NiceBreakpoints.fromWidth(width);
  return resolveForBreakpoint(breakpoint);
}