inshorts_flutter 0.0.4
inshorts_flutter: ^0.0.4 copied to clipboard
A Flutter package to fetch news from InShorts using its private API. Supports multiple categories and languages.
0.0.4 #
- Added full Dartdoc coverage for all public API members (Library and Models).
- Simplified
README.mdwith concise, copy-pasteable usage snippets. - Optimized
pubspec.yamldescription for better searchability and platform compliance.
0.0.3 #
- BREAKING CHANGES:
- Refactored model imports:
lib/api/global_response.dartremoved. Models are now grouped underlib/models/and exported via the main entry point. Importpackage:inshorts_flutter/inshorts_flutter.dartinstead. - Standardized
NewsTypeenums tocamelCase(e.g.,all_news->allNews,top_stories->topStories) to align with Dart naming conventions.
- Refactored model imports:
- Refactored model classes into separate files for better maintainability.
- Added comprehensive unit tests and structural schema validation.
- Enhanced
InShorts.getNewswith robust null-safety and error handling. - Improved example app with a beautiful, compact news card design.
- Updated
InShortsutility methods to use modern Dart enhanced switch expressions.
0.0.2 #
- Update
pubspec.yamldescription.
0.0.1 #
- initial release.