We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19a8787 commit 0f4192fCopy full SHA for 0f4192f
lib/widgets/files_item.dart
@@ -27,7 +27,7 @@ class FilesItem extends StatelessWidget {
27
final theme = Provider.of<ThemeModel>(context);
28
final codeProvider = Provider.of<CodeModel>(context);
29
return AntCollapse(
30
- activeKey: const [''],
+ activeKey: const {},
31
onChange: (_) {
32
// TODO: set active
33
},
lib/widgets/release_item.dart
@@ -80,7 +80,7 @@ class _ReleaseItemState extends State<ReleaseItem> {
80
const SizedBox(height: 10),
81
],
82
AntCollapse(
83
- activeKey: _isExpanded ? [''] : [],
+ activeKey: _isExpanded ? {''} : {},
84
85
setState(() {
86
_isExpanded = !_isExpanded;
0 commit comments