aboutsummaryrefslogtreecommitdiff
path: root/lib/views/vote_view.dart
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2023-03-05 13:05:25 +0100
committerdavidpkj <davidpenkow1@gmail.com>2023-03-05 13:05:25 +0100
commit14e4496de4138c317791030215803e7d57ec85bc (patch)
tree0d165667f1026325a7688c0f40bae4be6d7115f2 /lib/views/vote_view.dart
parent45e4c5426a9090407dc1d210361c22ca83d8aa65 (diff)
Refactored according to flutter lint
Diffstat (limited to 'lib/views/vote_view.dart')
-rw-r--r--lib/views/vote_view.dart8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/views/vote_view.dart b/lib/views/vote_view.dart
index 86ddc0b..9c5721e 100644
--- a/lib/views/vote_view.dart
+++ b/lib/views/vote_view.dart
@@ -9,16 +9,16 @@ class VoteView extends StatefulWidget {
const VoteView({Key? key}) : super(key: key);
@override
- _VoteViewState createState() => _VoteViewState();
+ VoteViewState createState() => VoteViewState();
}
-class _VoteViewState extends State<VoteView> {
+class VoteViewState extends State<VoteView> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text(AppLocalizations.of(context)!.category6)),
- drawer: CustomDrawer(initalIndex: 3),
- body: NoContentError(),
+ drawer: const CustomDrawer(initialIndex: 3),
+ body: const NoContentError(),
);
}
}