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

outdated

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