suitableWidget method
Implementation
Widget suitableWidget(BuildContext context) {
return renderDeviceWidget(context) != null
? renderDeviceWidget(context)!
//? instead of the next lines i need to provide the method that will provide the most suitable widget if the needed one is absent
: (MediaQuery.of(context).size.width > breakpoints[Device.tablet]![1])
? pc ?? SizedBox()
: mobile ?? SizedBox();
}