layout method
layout API.
Implementation
@override
PwBox layout(Context context, BoxConstraints constraints) {
return _ShapeBox(
constraints.constrain(PwSize(width, height)),
fillColor,
strokeColor,
circle: true,
);
}
layout API.
@override
PwBox layout(Context context, BoxConstraints constraints) {
return _ShapeBox(
constraints.constrain(PwSize(width, height)),
fillColor,
strokeColor,
circle: true,
);
}