quickly 3.3.0 copy "quickly: ^3.3.0" to clipboard
quickly: ^3.3.0 copied to clipboard

Quickly is build for faster and cleaner development. It provides lots of extension methods on Widget, String, List and Map.


Logo

Quickly is awesome flutter package for faster and cleaner development.
Explore the docs »

View Demo · Report Bug · Request Feature

Pub Version GitHub Workflow Status pub points popularity likes

Table of Contents #

  1. About The Project
  2. Usage
  3. Contributing
  4. License
  5. Contact

About The Project #

**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:

  • A collection of useful widgets and classes for quickly creating common UI elements.
  • Utility functions for common tasks like data validation and formatting.
  • Performance optimization tools for improving the overall performance of your app.

In summary, Quickly is an essential tool for any Flutter developer looking to improve their development workflow and create high-quality, polished apps.

(back to top)

Built With #

(back to top)

Usage #

Flutter #


// Display big bold red string in italic
Text('Quickly').red500.xl.bold.italic.underline

// 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
Container(child:Text('hide')).hide

Container(child:Text('show')).show

Container(
  child:Text('hide if condition true'),
  ).hideIf(condition)

Container(
  child:Text('show if condition true'),
  ).showIf(condition)

Dart #


// get sorted list
list.sorted()    // pass true for desc

list.sortedDec()

// get sorted list by key from list of object
list.sortedBy(key)

// checks given key/value pair is present or not
map.contains("key","value")   // true

// return id if key present else return 0
map.getId

// key is NULL or not [String] type return empty string else return value of key
map.getString('key')

// Get suffix
1.suffix()   // 1st
2.suffix()   // 2nd
8.suffix()   // 8th

10.5.suffix('$') // 10.5$

// getMonthName
1.getMonthName()     // January
2.getMonthName(true) // Jan

// getWeekName
1.getWeekName()     // Monday
2.getWeekName(true) // Mon

// divide list into equal elements
[1,2,3,4,5].chunk(2)    // [[1,2], [3,4], [5]];

// divide list into equal parts
[1,2,3,4,5].split(2)    // [[1,2,3], [4,5]];

// create new ascending order list
[4,3,1,2,5].sorted()    // [1,2,3,4,5]

// create new descending order list
[4,3,1,2,5].sortedDesc    // [5,4,3,2,1]

// match the the condition with key and return value
{1: 'One', 2: 'Two'}.match(2)   // Two
{1: 'One', 2: 'Two'}.match(3)   // Invalid input
{1: 'One', 2: 'Two'}.match(4,'Does not match')   // Does not match

 List list =
 [
  {'id': 1, 'name': 'P 1'},
  {'id': 2, 'name': 'P 2'},
];

// retrieves all of the values for a given key
list.pluck('name')    // ["P 1", "P 2"]
list.pluck('price')    // []

For more examples, please refer to the Documentation

(back to top)

Contributing #

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License #

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact #

Aniket Khote - @aniketkhote99 - [email protected]

Project Link: https://github.com/Aniketkhote/Quickly

Show some ❤️ to Like, Follow, and Star our repo! #

(back to top)

41
likes
0
pub points
75%
popularity

Publisher

verified publisherdreamlancer.in

Quickly is build for faster and cleaner development. It provides lots of extension methods on Widget, String, List and Map.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on quickly