mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 08:54:54 +00:00
add phone Height and Width into helpers
This commit is contained in:
4
lib/utils/helpers/app_size.dart
Normal file
4
lib/utils/helpers/app_size.dart
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
double deviceHeight(BuildContext context) => MediaQuery.of(context).size.height;
|
||||||
|
double deviceWidth(BuildContext context) => MediaQuery.of(context).size.width;
|
||||||
Reference in New Issue
Block a user