sizedbox_extention

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

sizedbox extention

sizedbox_extention #
A Flutter package allows you to put empty space between widgets without using a Container or SizedBox widget.
Preview #

Before Package



After Package


Features #

Add spacing between your widgets

Getting started #

Add dependency to pubspec.yaml

Get the latest version in the 'Installing' tab on pub.dev
dependencies:
sizedbox_extention: <latest-version>
copied to clipboard

Import the package

import 'package:sizedbox_extention/sizedbox_extention.dart';

copied to clipboard

Adding a sizedbox_extention widget.

//For height Spacing
Column(
children: [
Container(
height: 100,
width: double.infinity,
color: Colors.red,
),
50.height,
Container(
height: 100,
width: double.infinity,
color: Colors.yellow,
),
30.height,
Container(
height: 100,
width: double.infinity,
color: Colors.green,
),
],
),


//For width Spacing
Row(
children: [
Container(
width: 100,
height: double.infinity,
color: Colors.orange,
),
60.width,
Container(
width: 100,
height: double.infinity,
color: Colors.brown,
),
30.width,
Container(
width: 100,
height: double.infinity,
color: Colors.black,
),
],
)
copied to clipboard
How to use #
Check out the example app in the example directory or the 'Example' tab on pub.dartlang.org for a more complete example.
Additional information #
Wana know how this was done check this out

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.