some formatting of map, parameters and spaces (#29760)
This commit is contained in:
committed by
GitHub
parent
ecfdd7e1ea
commit
bfa1d25bf9
@@ -57,9 +57,10 @@ class SectorDimensions {
|
||||
const SectorDimensions({ this.deltaRadius = 0.0, this.deltaTheta = 0.0 });
|
||||
|
||||
factory SectorDimensions.withConstraints(
|
||||
SectorConstraints constraints,
|
||||
{ double deltaRadius = 0.0, double deltaTheta = 0.0, }
|
||||
) {
|
||||
SectorConstraints constraints, {
|
||||
double deltaRadius = 0.0,
|
||||
double deltaTheta = 0.0,
|
||||
}) {
|
||||
return SectorDimensions(
|
||||
deltaRadius: constraints.constrainDeltaRadius(deltaRadius),
|
||||
deltaTheta: constraints.constrainDeltaTheta(deltaTheta),
|
||||
@@ -554,7 +555,8 @@ class RenderBoxToRenderSectorAdapter extends RenderBox with RenderObjectWithChil
|
||||
}
|
||||
|
||||
class RenderSolidColor extends RenderDecoratedSector {
|
||||
RenderSolidColor(this.backgroundColor, {
|
||||
RenderSolidColor(
|
||||
this.backgroundColor, {
|
||||
this.desiredDeltaRadius = double.infinity,
|
||||
this.desiredDeltaTheta = kTwoPi,
|
||||
}) : super(BoxDecoration(color: backgroundColor));
|
||||
|
||||
Reference in New Issue
Block a user