kodora_ux

Last updated:

0 purchases

kodora_ux Image
kodora_ux Images
Add to Cart

Description:

kodora ux

kodora_ux #
kodora_ux is a new Flutter package to controlthe responsiveness of your interfaces and thuskeep the same rendering on all media.
Installation #
Add the package like this:
dependencies:
flutter:
sdk: flutter
kodora_ux :
copied to clipboard
Usage #
import 'package:kodora_ux/kodora_ux.dart';
copied to clipboard
Initialize kodora_ux in the Build of your main class.
with
deltaX and deltaY respectively equal to the width and the height of the reference screen (Usually those of the design).
Ux().init(context, deltaX, deltaY);
copied to clipboard
You can then use it like this
For the size of your texts:
//_size double value
s(_size);
copied to clipboard
For the margins (Top or Bottom) or heights of your components:
//_spatialH double value
h(_spatialH);
copied to clipboard
For the margins (Start or End) or widths of your components:
//_spatialW double value
w(_spatialW);
copied to clipboard
Issues and feedback #
Please use issues to send feedback or report a bug. Thank you!

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.