BoxStyle.fromBox constructor
BoxStyle.fromBox(})
Implementation
factory BoxStyle.fromBox(
Box style, {
Box? hoverStyle,
Box? activeStyle,
Box? errorStyle,
Box? disabledStyle,
}) {
return BoxStyle(
color: style.color,
decoration: style.decoration,
padding: style.padding,
border: style.border,
borderRadius: style.borderRadius,
borderColor: style.borderColor,
textColor: style.textColor,
textSize: style.textSize,
textWeight: style.textWeight,
textStyle: style.textStyle,
height: style.height,
width: style.width,
hoverStyle: hoverStyle,
activeStyle: activeStyle,
errorStyle: errorStyle,
disabledStyle: disabledStyle,
);
}