diff --git a/example/lib/main.dart b/example/lib/main.dart index 2cc42f9..c1674c4 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -56,7 +56,7 @@ class _QRViewExampleState extends State { children: [ Container( margin: EdgeInsets.all(8), - child: RaisedButton( + child: ElevatedButton( onPressed: () async { await controller?.toggleFlash(); setState(() {}); @@ -70,7 +70,7 @@ class _QRViewExampleState extends State { ), Container( margin: EdgeInsets.all(8), - child: RaisedButton( + child: ElevatedButton( onPressed: () async { await controller?.flipCamera(); setState(() {}); @@ -95,7 +95,7 @@ class _QRViewExampleState extends State { children: [ Container( margin: EdgeInsets.all(8), - child: RaisedButton( + child: ElevatedButton( onPressed: () async { await controller?.pauseCamera(); }, @@ -104,7 +104,7 @@ class _QRViewExampleState extends State { ), Container( margin: EdgeInsets.all(8), - child: RaisedButton( + child: ElevatedButton( onPressed: () async { await controller?.resumeCamera(); },