I am not sure why this fails? How can this be fixed?
As per this https://dart.dev/tools/diagnostic-messages#private_optional_parameter it's being told to make them without underscores. But that makes the variable public instead of being a private?
class ContactElement extends StatelessWidget {
final IconData _icon;
final String _heading;
final String _describer;
const ContactElement({
Key? key,
required this._icon,
required this._heading,
required this._describer,
}) : super(key: key);
}
please help