sized_box_extension 0.0.1
sized_box_extension: ^0.0.1 copied to clipboard
An extension for Flutter's SizedBox widget to make it easier to create boxes with specific widths and heights.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sized_box_extension
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sized_box_extension: ^0.0.1
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:sized_box_extension/sized_box_extension.dart';