mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
5
lib/utils/extension/size_ext.dart
Normal file
5
lib/utils/extension/size_ext.dart
Normal file
@@ -0,0 +1,5 @@
|
||||
import 'dart:ui' show Size;
|
||||
|
||||
extension SizeExt on Size {
|
||||
bool get isPortrait => width < 600 || height >= width;
|
||||
}
|
||||
Reference in New Issue
Block a user