how can this code be null safty?
this is the code
class FoodTitleWidget extends StatelessWidget {
String productName;
String productPrice;
String productHost;
FoodTitleWidget({
Key key,
@required this.productName,
@required this.productPrice,
@required this.productHost,
}) : super(key: key);
New contributor
Prime Video is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.