mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-09 14:42:23 -04:00
Changes from dart fix --apply
This commit is contained in:
parent
c9653bab18
commit
d5a03f57d5
10 changed files with 193 additions and 10 deletions
|
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
|||
import 'package:mobile_scanner/mobile_scanner.dart';
|
||||
|
||||
class ScannerErrorWidget extends StatelessWidget {
|
||||
const ScannerErrorWidget({Key? key, required this.error}) : super(key: key);
|
||||
const ScannerErrorWidget({required this.error, super.key});
|
||||
|
||||
final MobileScannerException error;
|
||||
|
||||
|
@ -48,4 +48,9 @@ class ScannerErrorWidget extends StatelessWidget {
|
|||
),
|
||||
);
|
||||
}
|
||||
@override
|
||||
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||
super.debugFillProperties(properties);
|
||||
properties.add(DiagnosticsProperty<MobileScannerException>('error', error));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue