responsive_screen 1.0.0

Flutter Android iOS web

A new way to use percentage on flutter to optimze design

Flutter Responsive Screen #

Using percentages to make the most accurate design views.

Installation #

On Flutter Dependencies "pubspec.yaml"

dependencies:
  flutter:
    sdk: flutter
  responsive_screen: ^1.0.0

Usage #

...
import 'package:flutter_responsive_screen/..';

...
// (context){
  final Function wp = Screen(context).wp;
  final Function hp = Screen(context).hp;
  ...
  // Container(hp,wp){
    dynamic wp = Wp(context).wp;
    dynamic hp = Hp(context).hp;
...
// (widget)
   SizedBox(height: hp(20), weight:wp(20)),

#About #

@MisaelRiojasMontenegro

4
likes
80
pub points
80%
popularity

A new way to use percentage on flutter to optimze design

Homepage

Documentation

API reference

Uploader

misaelriojasmontenegro@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on responsive_screen