value method
Implementation
T value(BuildContext context) {
if (Screen.of(context).isPortrait) {
return portrait;
} else {
return landscape;
}
}
T value(BuildContext context) {
if (Screen.of(context).isPortrait) {
return portrait;
} else {
return landscape;
}
}