getResponsiveWidget method

  1. @override
Widget getResponsiveWidget(
  1. BuildContext context,
  2. ScreenType screenType,
  3. double scale
)
override

Implementation

@override
Widget getResponsiveWidget(BuildContext context, ScreenType screenType, double scale) {

    return Transform.scale(
        scale: scale,
        child: Checkbox(
          key : get('key'),
          value : get('value'),
          tristate : get('tristate'),
          onChanged : onChanged,
          mouseCursor : get('mouseCursor'),
          activeColor : get('activeColor'),
          fillColor : get('fillColor'),
          checkColor : get('checkColor'),
          focusColor : get('focusColor'),
          hoverColor : get('hoverColor'),
          overlayColor : get('overlayColor'),
          splashRadius : get('splashRadius'),
          materialTapTargetSize : get('materialTapTargetSize'),
          visualDensity : get('visualDensity'),
          focusNode : get('focusNode'),
          autofocus : get('autofocus'),
          shape : get('shape'),
          side : get('side'),
        ),
    );
}