Skip to content

Commit

Permalink
🐛 added default values in display function to avoid null values.
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyStrelok committed May 11, 2021
1 parent e0e869a commit d6ee2ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/filter_list_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,16 @@ class FilterListDialog {
TextStyle? searchFieldTextStyle,

/// Apply Button Label
String? applyButtonText,
String? applyButtonText = 'Apply',

/// Reset Button Label
String? resetButtonText,
String? resetButtonText = 'Reset',

/// All Button Label
String? allButtonText,
String? allButtonText = 'All',

/// Selected items count text
String? selectedItemsText,
String? selectedItemsText = 'selected items',

/// Control container box decoration
BoxDecoration? controlContainerDecoration,
Expand Down

0 comments on commit d6ee2ab

Please sign in to comment.