Skip to content

feat: update library to a Dart package#128

Merged
OutdatedGuy merged 3 commits into
mainfrom
feat/dart-proj
Apr 29, 2026
Merged

feat: update library to a Dart package#128
OutdatedGuy merged 3 commits into
mainfrom
feat/dart-proj

Conversation

@OutdatedGuy

Copy link
Copy Markdown
Owner

No description provided.

@OutdatedGuy OutdatedGuy requested a review from Copilot April 29, 2026 15:39
@OutdatedGuy OutdatedGuy self-assigned this Apr 29, 2026
@OutdatedGuy OutdatedGuy added the enhancement New feature or request label Apr 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR transitions internet_connection_checker_plus from a Flutter package setup to a pure Dart package setup, updating dependencies, test tooling, and CI accordingly.

Changes:

  • Remove Flutter SDK dependency and switch to package:test + dart test.
  • Replace flutter_lints/Flutter analysis with package:lints and dart analyze.
  • Clean up Flutter-specific repo artifacts (e.g., .metadata) and simplify ignore/config files.

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test/internet_connection_test.dart Switch test framework import from Flutter test to package:test.
test/internet_check_result_test.dart Switch test framework import from Flutter test to package:test.
test/internet_check_option_test.dart Switch test framework import from Flutter test to package:test.
test/mocks/test_http_client.dart Minor cleanup (comment removal).
pubspec.yaml Remove Flutter SDK dependency/constraints; add lints + test dev deps; update package description to “pure Dart”.
lib/internet_connection_checker_plus.dart Minor cleanup of import section comments.
example/lib/pages/listen_to_stream.dart Minor import/comment cleanup in Flutter example.
example/lib/pages/listen_once.dart Minor import/comment cleanup in Flutter example.
example/lib/pages/custom_uris.dart Minor import/comment cleanup in Flutter example.
example/lib/pages/custom_success_criteria.dart Minor import/comment cleanup in Flutter example.
example/lib/main.dart Minor import/comment cleanup in Flutter example.
analysis_options.yaml Switch from flutter_lints include to lints/recommended.
.metadata Remove Flutter project metadata file.
.gitignore Simplify ignores to Dart-only entries.
.github/workflows/unit_tests.yml Move CI from Flutter toolchain to Dart toolchain (dart pub get, dart test).
.github/workflows/code_quality.yml Move CI from Flutter toolchain to Dart toolchain (dart format, dart analyze).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/internet_connection_test.dart
Comment thread .github/workflows/code_quality.yml Outdated
Comment thread .github/workflows/unit_tests.yml
Co-authored-by: Copilot <copilot@github.com>

@OutdatedGuy OutdatedGuy left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@OutdatedGuy OutdatedGuy merged commit 4267811 into main Apr 29, 2026
3 checks passed
@OutdatedGuy OutdatedGuy deleted the feat/dart-proj branch April 29, 2026 15:54
@OutdatedGuy OutdatedGuy mentioned this pull request May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants