Onprimierten Pass -Kontext flattern
FloatingActionButton(
onPressed: () => _showAddingDialog(context),
),
Future _showAddingDialog(BuildContext context) {
// ...
}
Joyful Code