speed_up_flutter 0.8.7 speed_up_flutter: ^0.8.7 copied to clipboard
This package will speed up your developing.
speed_up_flutter #
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:
- Improving documentation
- Reporting issues
- Fixing bugs