Skip to content

Commit

Permalink
use super parameters lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
navaronbracke committed Oct 22, 2023
1 parent 979d94d commit cf06a68
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion example/lib/barcode_list_scanner_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
import 'package:mobile_scanner_example/scanner_error_widget.dart';

class BarcodeListScannerWithController extends StatefulWidget {
const BarcodeListScannerWithController({Key? key}) : super(key: key);
const BarcodeListScannerWithController({super.key});

@override
State<BarcodeListScannerWithController> createState() =>
Expand Down
2 changes: 1 addition & 1 deletion example/lib/barcode_scanner_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
import 'package:mobile_scanner_example/scanner_error_widget.dart';

class BarcodeScannerWithController extends StatefulWidget {
const BarcodeScannerWithController({Key? key}) : super(key: key);
const BarcodeScannerWithController({super.key});

@override
State<BarcodeScannerWithController> createState() =>
Expand Down
2 changes: 1 addition & 1 deletion example/lib/barcode_scanner_pageview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
import 'package:mobile_scanner_example/scanner_error_widget.dart';

class BarcodeScannerPageView extends StatefulWidget {
const BarcodeScannerPageView({Key? key}) : super(key: key);
const BarcodeScannerPageView({super.key});

@override
State<BarcodeScannerPageView> createState() => _BarcodeScannerPageViewState();
Expand Down
2 changes: 1 addition & 1 deletion example/lib/barcode_scanner_returning_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
import 'package:mobile_scanner_example/scanner_error_widget.dart';

class BarcodeScannerReturningImage extends StatefulWidget {
const BarcodeScannerReturningImage({Key? key}) : super(key: key);
const BarcodeScannerReturningImage({super.key});

@override
State<BarcodeScannerReturningImage> createState() =>
Expand Down
2 changes: 1 addition & 1 deletion example/lib/barcode_scanner_window.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
import 'package:mobile_scanner_example/scanner_error_widget.dart';

class BarcodeScannerWithScanWindow extends StatefulWidget {
const BarcodeScannerWithScanWindow({Key? key}) : super(key: key);
const BarcodeScannerWithScanWindow({super.key});

@override
State<BarcodeScannerWithScanWindow> createState() =>
Expand Down
2 changes: 1 addition & 1 deletion example/lib/barcode_scanner_without_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
import 'package:mobile_scanner_example/scanner_error_widget.dart';

class BarcodeScannerWithoutController extends StatefulWidget {
const BarcodeScannerWithoutController({Key? key}) : super(key: key);
const BarcodeScannerWithoutController({super.key});

@override
State<BarcodeScannerWithoutController> createState() =>
Expand Down
2 changes: 1 addition & 1 deletion example/lib/barcode_scanner_zoom.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
import 'package:mobile_scanner_example/scanner_error_widget.dart';

class BarcodeScannerWithZoom extends StatefulWidget {
const BarcodeScannerWithZoom({Key? key}) : super(key: key);
const BarcodeScannerWithZoom({super.key});

@override
State<BarcodeScannerWithZoom> createState() => _BarcodeScannerWithZoomState();
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import 'package:mobile_scanner_example/mobile_scanner_overlay.dart';
void main() => runApp(const MaterialApp(home: MyHome()));

class MyHome extends StatelessWidget {
const MyHome({Key? key}) : super(key: key);
const MyHome({super.key});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion example/lib/scanner_error_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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({super.key, required this.error});

final MobileScannerException error;

Expand Down

0 comments on commit cf06a68

Please sign in to comment.