getDeviceInfo method

AdaptiveDeviceInfo getDeviceInfo(
  1. BuildContext context
)

Gets the device info for the current context.

Implementation

AdaptiveDeviceInfo getDeviceInfo(BuildContext context) {
  return AdaptiveDeviceInfo.of(
    context,
    breakpoints: breakpoints,
    designSizeConfig: designSize,
    screenSizeBreakpoints: screenSizeBreakpoints,
  );
}