Quickly is awesome flutter package for faster and cleaner development.
Explore the docs »
Report Bug
·
Request Feature
Quickly is a powerful Flutter package that aims to enhance the development experience by offering a variety of extension methods for types such as String, List and Map, allowing for a more efficient and cleaner coding experience. It is inspired by Bootstrap and Tailwind CSS, and is built using Flutter and Dart. The package offers a wide range of utility functions, such as applying padding, visibility, and text styling to widgets. It can be easily integrated into your code by importing the package and using the provided extension methods on your widgets.
With Quickly, developers can take advantage of features such as:
In summary, Quickly is an essential tool for any Flutter developer looking to improve their development workflow and create high-quality, polished apps.
// Display big bold red Text in italic with underline and alligned it to center
Text('Quickly').red500.xl.bold.italic.underline.center
// Apply padding to Widget
Text('12 Padding from all side').p12
Text('4 Padding from top and bottom side').py4
Text('16 Padding from all side except top').pnt16
// Visibility
Text('Hide this widget').hide()
// Rounded border
Text('Make rounded this widget').rounded
// Vertical space
2.hBox(child:Text('Added 2dp vertical space'))
The following are a list of extensions on various types (lists, maps, integers, and doubles) to provide additional functionality:
Sample data :
numbers = [5, 2, 9, 1, 7]
people = [{'name': 'Bob', 'age': 30}, {'name': 'Alice', 'age': 25}]
numbers.sorted() // [1, 2, 5, 7, 9]
numbers.sortedDec() // [9, 7, 5, 2, 1]
people.sortedBy('age') // [{'name': 'Alice', 'age': 25}, {'name': 'Bob', 'age': 30}]
numbers.chunk(2) // [[5, 2], [9, 1], [7]]
numbers.split(3) // [[5, 2], [9], [1, 7]]
people.pluck('name') // ['Bob', 'Alice', 'Charlie']
Sample data :
person = {'name': 'Bob', 'age': 30, 'gender': 'male'}
person.has('gender', 'male') // true
person.getId() // null
person.getString('name') // 'Bob'
person.getBool('gender') // false
person.retainKeys(['name', 'age']) // {'name': 'Bob', 'age': 30}
person.match('age', 'Unknown') // 30
8.suffix() // '8th'
10.5.suffix('$') // '10.5$'
1.getMonthName() // 'January'
1.getMonthName(isShort:true) // 'Jan'
3.getWeekName() // 'Wednesday'
3.getWeekName(isShort:true) // 'Wed'
For more examples, please refer to the Documentation
We welcome and greatly appreciate any contributions to Quickly. Whether you have a bug report, feature suggestion, or are interested in helping to develop the package, we encourage you to get involved.
Here are a few ways you can contribute:
Report a bug: If you find a bug or issue with the package, please open an issue and provide as much detail as possible about the problem.
Suggest a feature: If you have an idea for a new feature or improvement, please open an issue and share your thoughts.
Contribute code: If you're interested in developing the package further, please fork the repository and submit a pull request with your changes. Before submitting, please make sure to run the tests and ensure that your code follows the project's coding style.
Spread the word: If you find Quickly useful, please tell your friends and colleagues about it and give the project a star on GitHub.
Thank you for your support!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the MIT License. See LICENSE
for more information.
Aniket Khote - @aniketkhote99 - aniketkhote99@gmail.com
Project Link: https://github.com/Aniketkhote/Quickly