I am initializes in constructor but I am not sure it is the right way?
class PlaceDialogWidget extends StatelessWidget {
final NearbyPlace currentPlace;
final SizeHelper sizeHelper;
PlaceDialogWidget(
{Key? key, required this.currentPlace, required this.sizeHelper})
: dialogWidth = sizeHelper.width! * 0.7,
dialogHeight = sizeHelper.height! * 0.5,
super(key: key);
late final double dialogWidth;
late final double dialogHeight;
}