The new Signature Help feature triggers almost constantly, even when it doesn't make sense to, like inside of comments. Or the signature shown will be for something the next layer up.
Example code:
return ListTile(
title: Text("Enable notifications"),
trailing: Switch(
value: notificationsEnabled,
onChanged: (bool enabling){
if (enabling) {
// type this comma -> , and get the signature of Switch()
} else {
// ...
}
},
),
);