allDeviceWidth static method

Widget allDeviceWidth(
  1. BuildContext context, {
  2. Color? color,
})

Implementation

static Widget allDeviceWidth (BuildContext context, {Color? color }) {
  color ??= Colors.transparent;
  return colored( DeviceTools.getWidth(context), 0 , color);
}