inshorts_flutter 0.0.4 copy "inshorts_flutter: ^0.0.4" to clipboard
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.md with concise, copy-pasteable usage snippets.
  • Optimized pubspec.yaml description for better searchability and platform compliance.

0.0.3 #

  • BREAKING CHANGES:
    • Refactored model imports: lib/api/global_response.dart removed. Models are now grouped under lib/models/ and exported via the main entry point. Import package:inshorts_flutter/inshorts_flutter.dart instead.
    • Standardized NewsType enums to camelCase (e.g., all_news -> allNews, top_stories -> topStories) to align with Dart naming conventions.
  • Refactored model classes into separate files for better maintainability.
  • Added comprehensive unit tests and structural schema validation.
  • Enhanced InShorts.getNews with robust null-safety and error handling.
  • Improved example app with a beautiful, compact news card design.
  • Updated InShorts utility methods to use modern Dart enhanced switch expressions.

0.0.2 #

  • Update pubspec.yaml description.

0.0.1 #

  • initial release.
4
likes
160
points
83
downloads

Publisher

verified publisherflutterash.xyz

Weekly Downloads

A Flutter package to fetch news from InShorts using its private API. Supports multiple categories and languages.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on inshorts_flutter