Allows proportional widget responsiveness
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Add dependency in your pubspec.yaml file:
or use Slidy:
slidy install proportional_widget
A simple usage example:
//import import 'package:proportional_widget/proportional_widget.dart'; final ProportionalWidget prop = ProportionalWidget(context); Container( heigth: prop.height(100), width: prop.width(500), ),
Features and bugs
Please send feature requests and bugs at the issue tracker.
Created from templates made available by Stagehand under a BSD-style license.