Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-jiao committed Feb 26, 2024
1 parent 9dbedd9 commit ce2ac99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tools/responsive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ class Responsive extends StatelessWidget {
final Widget desktop;

const Responsive({
Key? key,
super.key,
required this.mobile,
required this.desktop,
}) : super(key: key);
});

static bool isMobile(BuildContext context) => MediaQuery.of(context).size.width < 750;

Expand Down

0 comments on commit ce2ac99

Please sign in to comment.