more syntax fixes

This commit is contained in:
Christien Rioux 2023-09-30 21:22:12 -04:00
parent 6fb09032a3
commit 4ca71db7c5
3 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,7 @@ import 'dart:io';
import 'dart:typed_data';
import 'package:awesome_extensions/awesome_extensions.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
@ -324,7 +325,7 @@ class ScanInviteDialogState extends ConsumerState<ScanInviteDialog> {
InviteDialogState dialogState,
Future<void> Function({required Uint8List inviteData})
validateInviteData) {
final theme = Theme.of(context);
//final theme = Theme.of(context);
//final scale = theme.extension<ScaleScheme>()!;
//final textTheme = theme.textTheme;
//final height = MediaQuery.of(context).size.height;
@ -389,6 +390,7 @@ class ScanInviteDialogState extends ConsumerState<ScanInviteDialog> {
inviteControlIsValid: inviteControlIsValid,
buildInviteControl: buildInviteControl);
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);

View File

@ -2,6 +2,7 @@
import 'dart:async';
import 'package:fast_immutable_collections/fast_immutable_collections.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
@ -26,7 +27,8 @@ class BackgroundTicker extends ConsumerStatefulWidget {
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(ObjectFlagProperty<Widget Function(BuildContext p1)>.has('builder', builder));
properties.add(ObjectFlagProperty<Widget Function(BuildContext p1)>.has(
'builder', builder));
}
}

View File

@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:mobile_scanner/mobile_scanner.dart';
@ -48,6 +49,7 @@ class ScannerErrorWidget extends StatelessWidget {
),
);
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);