flutter-template
flutter-template copied to clipboard
Flutter template using CLEAN architecture 🎯
Resolves #72 - Also introduces PresentationExtensions - Moved `isWithinMaxLines` to these extensions
```dart Size getSize( TextStyle style, { int maxLines = 1, double minWidth = .0, double maxWidth = double.infinity, }) { if (isNullOrBlank) { return Size.zero; } final text = TextSpan(text:...
1. A widget that adds a preconfigured [shimmering parent](https://pub.dev/packages/shimmer). 2. A widget for building the actual shapes, e.g. ```dart /// Pre-configured widget for adding loading shapes to the screen. class...
As we follow conventional commits, it would be nice to use this format for PR names as well. ``` fix/feat/chore/etc(TICKET-XXX): Name of the ticket fix/feat/chore/etc: Changes description ``` To force...
ColoredBox: ```dart // Instead of: Container( color: Colors.yellow, child: child, ) // Use: ColoredBox( color: Colors.yellow, child: child, ) ``` DecoratedBox: ```dart // Instead of: Container( decoration: BoxDecoration(...), child: child,...
So instead of having this: ```dart void something() async { final variable = 0; ... await future(); } ``` We will have: ```dart Future something() { final variable = 0;...
Resolves #66
Problem: some buttons on the screen might not be implemented yet. QAs might expect that it is though and report that something is broken. Solution: To avoid this, we can...
Resolves #64 Just a simple class that will help us to work with toasts.