flex_box 1.0.0 copy "flex_box: ^1.0.0" to clipboard
flex_box: ^1.0.0 copied to clipboard

A Flutter package providing a flexible box layout widget that simplifies creating responsive UIs with optional width, height, color, and child parameters.

FlexBox #

Pub

Simplify sizing and spacing in Flutter with FlexBox. An intuitive and versatile alternative to SizedBox for creating responsive and customizable containers.

Features #

  • Expressive Syntax: Improve code readability with a more human-friendly syntax for sizing and spacing.
  • Responsive Sizing: Easily create responsive layouts based on a percentage of the screen size.
  • Customization Options: Personalize your UI by adding background colors to your FlexBoxes.
  • Easy Integration: Seamlessly integrate FlexBox into your Flutter projects with minimal code.

Example Usage #

import 'package:flex_box/flex_box.dart';

// Create a responsive FlexBox with a blue background color
FlexBox.responsive(
  width: 50,
  height: 30,
  color: Colors.blue,
  child: YourWidget(),
);
1
likes
140
pub points
34%
popularity

Publisher

unverified uploader

A Flutter package providing a flexible box layout widget that simplifies creating responsive UIs with optional width, height, color, and child parameters.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flex_box