inshorts_flutter 0.0.3
inshorts_flutter: ^0.0.3 copied to clipboard
Inshorts news app's flutter implementation. Inshorts is an app which provides news from different sources and presents them under 60 words. This package uses Inshorts mobile app's private API to bring [...]
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.