0 purchases
speed up flutter
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
copied to clipboard
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'),
)
copied to clipboard
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,
),
copied to clipboard
Side Padding #
ListView().sidePadded(pad:, axis:);
copied to clipboard
getTextSize #
Useful when need calculate AppBar's height
final Size textSize = getTextSize(
'Discover Fantasian\'s\namazing world',
headerTextStyle,
);
copied to clipboard
Builders #
'Flutter'.asText(style:).inCenter(),
copied to clipboard
Contributing #
We accept the following contributions:
Improving documentation
Reporting issues
Fixing bugs
Maintainers #
Andrew Piterov
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.