From 4dc81e179ea68414077e18678c08e501d01cc406 Mon Sep 17 00:00:00 2001 From: Gabriel Araujo Date: Mon, 6 Nov 2023 14:45:49 -0300 Subject: [PATCH] Added disc as default list style --- lib/src/style.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/style.dart b/lib/src/style.dart index 004b32f4e7..d400eb6b0c 100644 --- a/lib/src/style.dart +++ b/lib/src/style.dart @@ -664,7 +664,7 @@ enum ListStyleType { factory ListStyleType.fromName(String name) { return ListStyleType.values.firstWhere((value) { return name == value.counterStyle; - }); + }, orElse: () => ListStyleType.disc); } }