SeatWidgetLayoutRowConfig constructor
SeatWidgetLayoutRowConfig({
- int count = 5,
- double? seatSpacing,
- Size? seatSize,
- SeatWidgetLayoutRowAlignment alignment = SeatWidgetLayoutRowAlignment.spaceEvenly,
Implementation
SeatWidgetLayoutRowConfig({
this.count = 5,
double? seatSpacing,
Size? seatSize,
this.alignment = SeatWidgetLayoutRowAlignment.spaceEvenly,
}) : seatSpacing = seatSpacing ?? ScreenAdapter.getWidth(Global.appContext(), 20.0),
seatSize = seatSize ??
Size(
ScreenAdapter.getWidth(Global.appContext(), 50.0),
ScreenAdapter.getWidth(Global.appContext(), 72.0),
);