speed_up_flutter 0.9.0 copy "speed_up_flutter: ^0.9.0" to clipboard
speed_up_flutter: ^0.9.0 copied to clipboard

This package will speed up your developing.

speed_up_flutter #

pub package likes codecov style: lint Dart

Package to speed up your productivity in Flutter. For more productivity in pure Dart, please check out speed_up package.

Usage #

Number extensions #

20.h; // Add vertical spacing
20.w; // Add horizontal spacing

Section #

A section is a thematic grouping of content, typically with a heading

Section(
  [
    Text('Name Andrew'),
    10.h,
    Text('Age 18'),
  ],
  heading: Text('User info'),
)

FirstLastItemInList #

ListView.separated(
  // scrollDirection: Axis.horizontal,
  itemBuilder: (_, index) => FirstLastItemInList(
    child: ContactListItemView(
      ContactModel.fakeList.elementAt(index),
    ),
    index: index,
    total: ContactModel.fakeList.length,
    // scrollDirection: Axis.horizontal,
  ),
  separatorBuilder: (_, __) => 20.h,
  itemCount: ContactModel.fakeList.length,
),

Side Padding #

ListView().sidePadded(pad:, axis:);

getTextSize #

Useful when need calculate AppBar's height

final Size textSize = getTextSize(
  'Discover Fantasian\'s\namazing world',
  headerTextStyle,
);

Builders #

'Flutter'.asText(style:).inCenter(),

Contributing #

We accept the following contributions:

Maintainers #

Buy Me A Coffee

13
likes
130
points
95
downloads

Publisher

verified publisherdevcraft.ninja

Weekly Downloads

This package will speed up your developing.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

equatable, flutter, rxdart, speed_up

More

Packages that depend on speed_up_flutter