gap_widget 0.0.1 copy "gap_widget: ^0.0.1" to clipboard
gap_widget: ^0.0.1 copied to clipboard

Gap Widget Vertical Gap and Horizontal Gap to rid out of write SizedBox

gap_widget #

Gap Widget Vertical Gap and Horizontal Gap to rid out of write SizedBox

Add Dependency #

dependencies:
    gap_widget: ^0.0.1

Example #

class Page extends StatelessWidget {
  const Page({Key? key}) : super(key: key);

  @override
      Widget build(BuildContext context) {
        return Container(
          child: Column(
            children: [
              Text("Text 1"),
              VerticalGap(),
              Text("Text 2"),
              VerticalGap(gap: 12,),
              Row(
                children: [
                  Text("Text 3"),
                  HorizontalGap(gap: 20,),
                  Text("Text 4")
                ],
              )
            ],
          ),
        );
      }
    }
}

Widgets #

    VerticalGap(gap: 12.0) //default gap is 8.0
    HorizontalGap() // //default gap is 8.0
3
likes
100
pub points
66%
popularity

Publisher

verified publisherdev.codesh.in

Gap Widget Vertical Gap and Horizontal Gap to rid out of write SizedBox

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on gap_widget