kodora_ux 0.8.1 copy "kodora_ux: ^0.8.1" to clipboard
kodora_ux: ^0.8.1 copied to clipboard

kodora_ux it's a new Flutter package to control the responsiveness of your interfaces and thus keep the same rendering on all media.

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 :

Usage #

import 'package:kodora_ux/kodora_ux.dart';

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);

You can then use it like this For the size of your texts:

//_size double value
s(_size);

For the margins (Top or Bottom) or heights of your components:

//_spatialH double value
h(_spatialH);

For the margins (Start or End) or widths of your components:

//_spatialW double value
w(_spatialW);

Issues and feedback #

Please use issues to send feedback or report a bug. Thank you!

2
likes
40
pub points
0%
popularity

Publisher

unverified uploader

kodora_ux it's a new Flutter package to control the responsiveness of your interfaces and thus keep the same rendering on all media.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on kodora_ux