sdpify 1.0.3
sdpify: ^1.0.3 copied to clipboard
Sdpify is a lightweight package that converts pixels to scalable dp (sdp), ensuring a responsive and consistent UI across all screen sizes and densities
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sdpify
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sdpify: ^1.0.3
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:sdpify/sdpify.dart';