toBox method

Box toBox({
  1. String? name,
})

Implementation

Box toBox({String? name}) {
  return Box(
    name: name,
    color: color,
    decoration: decoration,
    padding: padding,
    border: border,
    borderRadius: borderRadius,
    borderColor: borderColor,
    textColor: textColor,
    textSize: textSize,
    textWeight: textWeight,
    textStyle: textStyle,
    height: height,
    width: width,
  );
}