deviceType static method

DeviceType deviceType(
  1. BoxConstraints constraints
)

deviceTypeOf the width read from BoxConstraints.

Implementation

static DeviceType deviceType(BoxConstraints constraints) =>
    deviceTypeOf(constraints.maxWidth);