Stack( children: [ new Opacity( opacity: 0.3, child: const ModalBarrier(dismissible: false, color: Colors.grey), ), Center( child: Container( Text('Hello'), ), ), ], )