scalex 1.0.0 copy "scalex: ^1.0.0" to clipboard
scalex: ^1.0.0 copied to clipboard

A better alternative to flutter_screenutil that works great for web, mobile, and desktop. Provides simple syntax like 4.w, 4.h, 4.sp with smart scaling that keeps desktop layouts fixed.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add scalex

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  scalex: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:scalex/scalex.dart';
2
likes
150
points
29
downloads

Documentation

API reference

Publisher

verified publisherimrishav.life

Weekly Downloads

A better alternative to flutter_screenutil that works great for web, mobile, and desktop. Provides simple syntax like 4.w, 4.h, 4.sp with smart scaling that keeps desktop layouts fixed.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on scalex