Last active
June 8, 2023 16:53
-
-
Save ehbc221/d21dc82aee798bed5d1af126f50fbd34 to your computer and use it in GitHub Desktop.
A mixin for handling filtering criteria in Flutter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// Wrapper for all the criterias. | |
| /// | |
| /// - author - @ehbc221 | |
| /// - version - 1.0.0 | |
| /// - last updated - June 8th, 2023 | |
| mixin Criteria { | |
| Criteria copy(); | |
| /// The search page. | |
| abstract final int? page; | |
| /// The size of the pagination. | |
| abstract final int? size; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment