18 lines
458 B
Dart
18 lines
458 B
Dart
import 'plant.dart';
|
|
|
|
class PlantInRow extends Plant {
|
|
final int position;
|
|
|
|
PlantInRow({required this.position, required Plant plant})
|
|
: super(
|
|
supType: plant.supType,
|
|
horizontalSpace: plant.horizontalSpace,
|
|
id: plant.id,
|
|
name: plant.name,
|
|
verticalSpace: plant.verticalSpace,
|
|
waterRequirement: plant.waterRequirement) {
|
|
image = plant.image;
|
|
times = plant.times;
|
|
}
|
|
}
|