Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
Changed the children count requirement to 1 from 2
Browse files Browse the repository at this point in the history
  • Loading branch information
marianocordoba committed Mar 24, 2021
1 parent ddc8fa5 commit 604681a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fab_circular_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class FabCircularMenu extends StatefulWidget {
this.animationCurve = Curves.easeInOutCirc,
this.onDisplayChange,
required this.children})
: assert(children.length >= 2),
: assert(children.length >= 1),
super(key: key);

@override
Expand Down

0 comments on commit 604681a

Please sign in to comment.