Skip to content

Commit

Permalink
Update comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
bosskmk committed Dec 20, 2020
1 parent 97b00db commit b410ccd
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions lib/src/pluto_configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,19 @@ class PlutoColumnFilterConfig {
/// );
///
/// class ClassYouImplemented implements PlutoFilterType {
/// String get title => 'CustomFilter';
/// String get title => 'Custom contains';
///
/// PlutoCompareFunction get compare =>
/// (dynamic a, dynamic b) => a.toString().contains(b.toString());
/// get compare => ({
/// String base,
/// String search,
/// PlutoColumn column,
/// }) {
/// var keys = search.split(',').map((e) => e.toUpperCase()).toList();
///
/// return keys.contains(base.toUpperCase());
/// };
///
/// const ClassYouImplemented();
/// }
/// ```
const PlutoColumnFilterConfig({
Expand Down

0 comments on commit b410ccd

Please sign in to comment.