From 14e4496de4138c317791030215803e7d57ec85bc Mon Sep 17 00:00:00 2001 From: davidpkj Date: Sun, 5 Mar 2023 13:05:25 +0100 Subject: Refactored according to flutter lint --- lib/views/vote_view.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/views/vote_view.dart') 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 { +class VoteViewState extends State { @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(), ); } } -- cgit v1.2.3