updateSize method
Implementation
FSize updateSize(
final String newValue,
final BuildContext context,
final frame.DeviceType deviceType,
) {
if (deviceType == frame.DeviceType.phone) {
return copyWith(size: newValue);
} else if (deviceType == frame.DeviceType.tablet) {
return copyWith(sizeTablet: newValue);
} else {
return copyWith(sizeDesktop: newValue);
}
}