Skip to content

Commit

Permalink
ResponsiveValue Between Condition
Browse files Browse the repository at this point in the history
  • Loading branch information
rayliverified committed Apr 16, 2023
1 parent 3351cf6 commit ef50034
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,10 @@ class MyApp extends StatelessWidget {
width: ResponsiveValue<double>(context,
conditionalValues: [
const Condition.equals(name: MOBILE, value: 450),
const Condition.largerThan(
breakpoint: 800, value: 800),
const Condition.largerThan(
breakpoint: 1000, value: 1000),
const Condition.largerThan(
breakpoint: 1200, value: null),
const Condition.equals(name: '4K', value: null),
const Condition.between(
start: 800, end: 1100, value: 800),
const Condition.between(
start: 1000, end: 1200, value: 1000),
]).value,
child: child!),
),
Expand Down

0 comments on commit ef50034

Please sign in to comment.