switchable_padding 1.1.0 copy "switchable_padding: ^1.1.0" to clipboard
switchable_padding: ^1.1.0 copied to clipboard

A widget that adds calculated padding to the child according to the given width.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add switchable_padding

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

dependencies:
  switchable_padding: ^1.1.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:switchable_padding/switchable_padding.dart';
0
likes
160
pub points
0%
popularity

Publisher

unverified uploader

A widget that adds calculated padding to the child according to the given width.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on switchable_padding