From f9fe6f9c9f74798598a4b3ec0972b6d24e8d76e2 Mon Sep 17 00:00:00 2001 From: u221711 Date: Tue, 15 Oct 2024 08:29:28 +0200 Subject: [PATCH] chore: make drawer a statless widget --- das_client/lib/nav/das_navigation_drawer.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/das_client/lib/nav/das_navigation_drawer.dart b/das_client/lib/nav/das_navigation_drawer.dart index 84bd45f..6d11001 100644 --- a/das_client/lib/nav/das_navigation_drawer.dart +++ b/das_client/lib/nav/das_navigation_drawer.dart @@ -6,14 +6,9 @@ import 'package:das_client/widgets/device_id_text.dart'; import 'package:design_system_flutter/design_system_flutter.dart'; import 'package:flutter/material.dart'; -class DASNavigationDrawer extends StatefulWidget { +class DASNavigationDrawer extends StatelessWidget { const DASNavigationDrawer({super.key}); - @override - State createState() => _DASNavigationDrawerState(); -} - -class _DASNavigationDrawerState extends State { @override Widget build(BuildContext context) { return Drawer(