create method

  1. @override
Widget create(
  1. {Key key}
)

Creat a widget

Implementation

@override
Widget create({Key key}) {
  return Container(
    key: key,
    width: _width,
    height: _height,
    color: this.clr,
    child: _child,
    clipBehavior: _clip ?? Clip.none,
    alignment: _alignment,
    margin: _margin,
    padding: _padding,
    constraints: _constraints,
    decoration: this.clr == null ?  _boxDecoration.create() : null,
  );
}