Padder is a Flutter package of simple padding widgets.
Sick of typing padding boilerplate like this?
new Padding(padding: new EdgeInsets.only(top: 16.0), child: myWidget);
Then Padder is for you!
Padder contains widgets such as PaddingTop that transform the line above into:
new PaddingTop(16.0, myWidget)
It may not seem like much but when tweaking Flutter layouts all day long, Padder widgets are much easier to use and remember!
Padder also has Sliver variants of all the widgets above
Add this to your package's pubspec.yaml file:
dependencies: padder: "^1.0.1"
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:padder/padding.dart'; import 'package:padder/sliver_padding.dart';
|1.0.1||Apr 4, 2018|
|1.0.0||Apr 3, 2018|
|0.1.0||Apr 3, 2018|
We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
Fix analysis and formatting issues.
Analysis or formatting checks reported 1 hint.
flutter formatto format