Skip to content

Shek863/SizeConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages