Skip to content

Instantly share code, notes, and snippets.

@danahartweg
Created July 27, 2020 02:52
Show Gist options
  • Save danahartweg/27e36947ebb304a87e8894cee36a80af to your computer and use it in GitHub Desktop.
Save danahartweg/27e36947ebb304a87e8894cee36a80af to your computer and use it in GitHub Desktop.
Boolean value condition - Support boolean properties to flutter_bloc_list_manager
if (value is bool) {
availableConditions[property].add('True');
availableConditions[property].add('False');
availableConditionKeys.add(generateConditionKey(property, 'True'));
availableConditionKeys.add(generateConditionKey(property, 'False'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment