| @@ -56,7 +56,7 @@ class _QRViewExampleState extends State<QRViewExample> { | |||||
| children: <Widget>[ | children: <Widget>[ | ||||
| Container( | Container( | ||||
| margin: EdgeInsets.all(8), | margin: EdgeInsets.all(8), | ||||
| child: RaisedButton( | |||||
| child: ElevatedButton( | |||||
| onPressed: () async { | onPressed: () async { | ||||
| await controller?.toggleFlash(); | await controller?.toggleFlash(); | ||||
| setState(() {}); | setState(() {}); | ||||
| @@ -70,7 +70,7 @@ class _QRViewExampleState extends State<QRViewExample> { | |||||
| ), | ), | ||||
| Container( | Container( | ||||
| margin: EdgeInsets.all(8), | margin: EdgeInsets.all(8), | ||||
| child: RaisedButton( | |||||
| child: ElevatedButton( | |||||
| onPressed: () async { | onPressed: () async { | ||||
| await controller?.flipCamera(); | await controller?.flipCamera(); | ||||
| setState(() {}); | setState(() {}); | ||||
| @@ -95,7 +95,7 @@ class _QRViewExampleState extends State<QRViewExample> { | |||||
| children: <Widget>[ | children: <Widget>[ | ||||
| Container( | Container( | ||||
| margin: EdgeInsets.all(8), | margin: EdgeInsets.all(8), | ||||
| child: RaisedButton( | |||||
| child: ElevatedButton( | |||||
| onPressed: () async { | onPressed: () async { | ||||
| await controller?.pauseCamera(); | await controller?.pauseCamera(); | ||||
| }, | }, | ||||
| @@ -104,7 +104,7 @@ class _QRViewExampleState extends State<QRViewExample> { | |||||
| ), | ), | ||||
| Container( | Container( | ||||
| margin: EdgeInsets.all(8), | margin: EdgeInsets.all(8), | ||||
| child: RaisedButton( | |||||
| child: ElevatedButton( | |||||
| onPressed: () async { | onPressed: () async { | ||||
| await controller?.resumeCamera(); | await controller?.resumeCamera(); | ||||
| }, | }, | ||||