getResponsiveWidget method
Implementation
@override
Widget getResponsiveWidget(BuildContext context, ScreenType screenType, double scale) {
var newIconSize = iconSize * scale;
return IconButton(
icon: icon,
iconSize: newIconSize,
onPressed: onPressed,
key: get('key'),
alignment: get('alignment'),
padding: get('padding'),
splashRadius: get('splashRadius'),
color: get('color'),
focusColor: get('focusColor'),
hoverColor: get('hoverColor'),
highlightColor: get('highlightColor'),
splashColor: get('splashColor'),
disabledColor: get('disabledColor'),
focusNode: get('focusNode'),
autofocus: get('autofocus'),
tooltip: get('tooltip'),
enableFeedback: get('enableFeedback'),
constraints: get('constraints')
);
}