Skip to content

Commit

Permalink
Code clean-ups
Browse files Browse the repository at this point in the history
  • Loading branch information
Elleo committed Dec 8, 2023
1 parent bc3439f commit 54b08e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/confirmation_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'dart:async';
import 'package:flutter/material.dart';
import 'countdown_button.dart';

Expand All @@ -8,10 +7,11 @@ class ConfirmationDialog extends StatefulWidget {
final VoidCallback onRevert;

@override
_ConfirmationDialogState createState() => new _ConfirmationDialogState();
State<ConfirmationDialog> createState() => _ConfirmationDialogState();
}

class _ConfirmationDialogState extends State<ConfirmationDialog> {
@override
Widget build(BuildContext context) {
return Semantics(
label:
Expand Down
2 changes: 1 addition & 1 deletion lib/countdown_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class CountdownButton extends StatefulWidget {
final VoidCallback onPressed;

@override
_CountdownButtonState createState() => new _CountdownButtonState();
State<CountdownButton> createState() => _CountdownButtonState();
}

class _CountdownButtonState extends State<CountdownButton> {
Expand Down

0 comments on commit 54b08e1

Please # to comment.