소스 검색

Changed deprecated RaisedButton to ElevatedButton

flutter-beta
Julian Steenbakker 5 년 전
부모
커밋
b70f8f04d0
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      example/lib/main.dart

+ 4
- 4
example/lib/main.dart 파일 보기

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


불러오는 중...
취소
저장