custom filters
This commit is contained in:
@@ -22,6 +22,10 @@ void main() {
|
||||
expect(restored.showAmountOut, isTrue);
|
||||
expect(restored.showAmountIn, isFalse);
|
||||
expect(restored.showCount, isTrue);
|
||||
expect(restored.halfWidth, isFalse);
|
||||
|
||||
final half = widget.copyWith(halfWidth: true);
|
||||
expect(HomeFilterWidget.fromJson(half.toJson()).halfWidth, isTrue);
|
||||
});
|
||||
|
||||
test('mergeHomeFilterWidgets unions by id with local wins', () {
|
||||
|
||||
Reference in New Issue
Block a user