Skip to content

Commit

Permalink
Remove useless assert
Browse files Browse the repository at this point in the history
  • Loading branch information
amantoux committed Jul 7, 2024
1 parent d1f507e commit 0ee5cdc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/fleather/lib/src/widgets/editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,7 @@ class RawEditor extends StatefulWidget {
this.spellCheckConfiguration,
this.embedBuilder = defaultFleatherEmbedBuilder,
this.linkActionPickerDelegate = defaultLinkActionPickerDelegate,
}) : assert(scrollable || scrollController != null),
assert(maxHeight == null || maxHeight > 0),
}) : assert(maxHeight == null || maxHeight > 0),
assert(minHeight == null || minHeight >= 0),
assert(
(maxHeight == null) ||
Expand Down

0 comments on commit 0ee5cdc

Please sign in to comment.