Skip to content

Commit ecf5c83

Browse files
Vinzent03rayliverified
authored andcommitted
fix: use generic for valueWhen in ResponsiveValue
1 parent 07c090f commit ecf5c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/responsive_value.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import 'responsive_framework.dart';
1818
class ResponsiveValue<T> {
1919
T? value;
2020
final T defaultValue;
21-
final List<Condition> valueWhen;
21+
final List<Condition<T>> valueWhen;
2222

2323
final BuildContext context;
2424

0 commit comments

Comments
 (0)