getValue method

T getValue(
  1. BuildContext context
)

Implementation

T getValue(BuildContext context) {
  if (Responsive.isDesktop(context)) {
    return desktop;
  } else if (Responsive.isTablet(context) && tablet != null) {
    return tablet!;
  } else {
    return mobile;
  }
}