Skip to content

Commit b32d9ae

Browse files
committed
set default showAccordion to false to prevent null
1 parent e2ec86c commit b32d9ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/accordian/gf_accordian.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class GFAccordion extends StatefulWidget {
1919
this.titleborder = const Border(),
2020
this.contentBorder = const Border(),
2121
this.margin,
22-
this.showAccordion})
22+
this.showAccordion = false})
2323
: super(key: key);
2424

2525
/// controls if the accordion should be collapsed or not making it possible to be controlled from outside

0 commit comments

Comments
 (0)