-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(filtersettings): was able to build the flow to get all filterse…
…ttings of the filters of a sceneitem and was also able to match them in a dynamicinput - still need to work on updating them and the UI for that
- Loading branch information
Showing
11 changed files
with
368 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
lib/types/classes/stream/batch_responses/filter_default_settings.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import 'package:obs_blade/types/classes/stream/batch_responses/base.dart'; | ||
import 'package:obs_blade/types/classes/stream/responses/get_source_filter_default_settings.dart'; | ||
|
||
class FilterDefaultSettingsResponse extends BaseBatchResponse { | ||
FilterDefaultSettingsResponse(super.json); | ||
|
||
Iterable<GetSourceFilterDefaultSettingsResponse> get defaultSettings => | ||
this.responses.map((response) => | ||
GetSourceFilterDefaultSettingsResponse(response.jsonRAW)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
lib/types/classes/stream/responses/get_source_filter_default_settings.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import 'base.dart'; | ||
|
||
/// Gets the default settings for a filter kind. | ||
class GetSourceFilterDefaultSettingsResponse extends BaseResponse { | ||
GetSourceFilterDefaultSettingsResponse(super.json); | ||
|
||
/// Object of default settings for the filter kind | ||
Map<String, dynamic> get defaultFilterSettings => | ||
this.json['defaultFilterSettings']; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95 changes: 0 additions & 95 deletions
95
lib/views/dashboard/widgets/scenes/scene_content/scene_items/filter_list.dart
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.