Contexto de pase de OnPressed Flutter

 FloatingActionButton(
      onPressed: () => _showAddingDialog(context),
  ),
  
  Future _showAddingDialog(BuildContext context) {
  // ...
  }
Joyful Code