Commit 4573e29

derdilla <82763757+NobodyForNothing@users.noreply.github.com>
2024-01-04 15:51:56
fix dependency on specific layout
Signed-off-by: derdilla <82763757+NobodyForNothing@users.noreply.github.com>
1 parent c8cae5c
Changed files (1)
lib
components
lib/components/dialoges/add_measurement_dialoge.dart
@@ -192,7 +192,7 @@ class _AddEntryDialogeState extends State<AddEntryDialoge> {
 
   /// Build the border all fields have.
   RoundedRectangleBorder buildShapeBorder([Color? color]) => RoundedRectangleBorder(
-    side: Theme.of(context).inputDecorationTheme.border!.borderSide,
+    side: Theme.of(context).inputDecorationTheme.border?.borderSide ?? const BorderSide(width: 3),
     borderRadius: BorderRadius.circular(20)
   );