{"repo":"OpenFlutter/flutter_screenutil","free":true,"listed":false,"github":"https://github.com/OpenFlutter/flutter_screenutil","clone":"git clone https://github.com/OpenFlutter/flutter_screenutil.git","description":"Flutter screen adaptation, font adaptation, get screen information","language":"Dart","stars":4023,"topics":["flutter","dart","screenutil","screen","scale"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"flutter screenutil A flutter plugin for adapting screen and font size.Let your UI display a reasonable layout on different screen sizes! Note : This plugin is still under development, and some APIs might not be available yet. 中文文档 README em Português github Update log Usage Add dependency Please check the latest version before installation. If there is any problem with the new version, please use the previous version Add the following imports to your Dart code Properties Property Type Default Value Description ----------------- ---------------- ------------- ----------------------------------------------------------------------------------------------------------------------------------------------- designSize Size Size(360,690) The size of the device screen in the design draft, in dp builder Function null Return widget that uses the library in a property (ex: MaterialApp's theme) child Widget null A part of builder that its dependencies/properties don't use the library rebuildFactor Function default Function that take old and new screen metrics and returns whether to rebuild or not when changes. splitScreenMode bool false support for split screen minTextAdapt bool false Whether to adapt the text according to the minimum of width and height context BuildContext null Get physical device data if not provided, by MediaQuery.of(context) fontSizeResolver Function default Function that specify how font size should be adapted. Default is that font size scale with width of screen. re","default_branch":null,"files":null,"tree":[],"storefront":"/r/OpenFlutter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OpenFlutter/flutter_screenutil/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}