scalex 1.0.1
scalex: ^1.0.1 copied to clipboard
Simple responsive sizing for Flutter with syntax like 4.w, 4.h, 4.sp. Smart scaling on mobile/tablet, fixed sizes on desktop. Works seamlessly across web, mobile, and desktop platforms.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add scalexThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
scalex: ^1.0.1Alternatively, 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';