Nakładka na przycisk zarysu Trzepot

// OutlineButton is deprecated. Use OutlinedButton in place (notice the -d)
OutlinedButton(
   style: ButtonStyle(
       overlayColor: MaterialStateProperty.resolveWith(
            (state) => Colors.red)),
   child: Text('Fermer'),
   onPressed: () {
       Navigator.of(context).pop();
   },
Joyful Code