Skip to content

Commit 2a71db9

Browse files
committed
Release 4.0.0
1 parent 3dcffd5 commit 2a71db9

133 files changed

Lines changed: 114615 additions & 64068 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.fvmrc‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"flutter": "3.44.8"
3+
}

‎.github/ISSUE_TEMPLATE/bug.md‎

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
name: Bug report
2+
description: Report reproducible behavior that is incorrect or unexpected.
3+
title: "[Bug]: "
4+
labels:
5+
- bug
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for helping improve Flutter EasyLoading. Please provide a minimal reproduction so the issue can be verified efficiently.
11+
12+
- type: checkboxes
13+
id: preflight
14+
attributes:
15+
label: Preflight checks
16+
options:
17+
- label: I searched existing issues and did not find a duplicate.
18+
required: true
19+
- label: I can reproduce this with a currently supported Flutter EasyLoading version.
20+
required: true
21+
22+
- type: textarea
23+
id: description
24+
attributes:
25+
label: Description
26+
description: Describe the problem and when it occurs.
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: reproduction
32+
attributes:
33+
label: Minimal reproduction
34+
description: Link to a small repository, DartPad, or provide the smallest code sample that reproduces the issue.
35+
placeholder: https://github.com/your-name/minimal-reproduction
36+
validations:
37+
required: true
38+
39+
- type: textarea
40+
id: steps
41+
attributes:
42+
label: Steps to reproduce
43+
placeholder: |
44+
1. Configure EasyLoading with ...
45+
2. Call ...
46+
3. Observe ...
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
id: expected
52+
attributes:
53+
label: Expected behavior
54+
validations:
55+
required: true
56+
57+
- type: textarea
58+
id: actual
59+
attributes:
60+
label: Actual behavior
61+
description: Include complete error messages and stack traces when available.
62+
validations:
63+
required: true
64+
65+
- type: input
66+
id: package-version
67+
attributes:
68+
label: Flutter EasyLoading version
69+
placeholder: 4.0.0
70+
validations:
71+
required: true
72+
73+
- type: textarea
74+
id: flutter-doctor
75+
attributes:
76+
label: Flutter environment
77+
description: Paste the output of `flutter doctor -v`.
78+
render: shell
79+
validations:
80+
required: true
81+
82+
- type: dropdown
83+
id: platforms
84+
attributes:
85+
label: Affected platforms
86+
multiple: true
87+
options:
88+
- Android
89+
- iOS
90+
- Web
91+
- macOS
92+
- Windows
93+
- Linux
94+
validations:
95+
required: true
96+
97+
- type: textarea
98+
id: additional-context
99+
attributes:
100+
label: Additional context
101+
description: Add screenshots, recordings, or other details that may help diagnose the issue.

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Usage questions and support
4+
url: https://github.com/nslogx/flutter_easyloading/discussions
5+
about: Ask usage questions and discuss integration approaches with the community.
6+
- name: Security vulnerability
7+
url: https://github.com/nslogx/flutter_easyloading/security/advisories/new
8+
about: Report security vulnerabilities privately. Do not disclose them in a public issue.

‎.github/ISSUE_TEMPLATE/feature.md‎

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Feature request
2+
description: Propose an improvement that addresses a concrete use case.
3+
title: "[Feature]: "
4+
labels:
5+
- enhancement
6+
body:
7+
- type: checkboxes
8+
id: preflight
9+
attributes:
10+
label: Preflight checks
11+
options:
12+
- label: I searched existing issues and discussions and did not find an equivalent proposal.
13+
required: true
14+
- label: This request is specific to Flutter EasyLoading rather than general Flutter support.
15+
required: true
16+
17+
- type: textarea
18+
id: problem
19+
attributes:
20+
label: Problem statement
21+
description: Describe the user or developer problem. Avoid starting with a proposed API.
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
id: proposal
27+
attributes:
28+
label: Proposed solution
29+
description: Explain the behavior and API you would like to see.
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: alternatives
35+
attributes:
36+
label: Alternatives considered
37+
description: Describe existing workarounds or other designs you considered.
38+
validations:
39+
required: true
40+
41+
- type: dropdown
42+
id: compatibility
43+
attributes:
44+
label: Compatibility impact
45+
options:
46+
- Backward compatible
47+
- Requires a deprecation cycle
48+
- Requires a breaking change
49+
- Unsure
50+
validations:
51+
required: true
52+
53+
- type: textarea
54+
id: additional-context
55+
attributes:
56+
label: Additional context
57+
description: Add API sketches, screenshots, references, or other supporting material.

‎.github/dependabot.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: monthly
7+
groups:
8+
github-actions:
9+
patterns:
10+
- "*"
11+
open-pull-requests-limit: 5

‎.github/pull_request_template.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## Summary
2+
3+
<!-- Explain what changed and why. Focus on behavior and public API impact. -->
4+
5+
## Related issue
6+
7+
<!-- Use "Closes #123" when this pull request should close an issue. -->
8+
9+
## Change type
10+
11+
- [ ] Bug fix
12+
- [ ] New feature
13+
- [ ] Refactoring
14+
- [ ] Documentation
15+
- [ ] Breaking change
16+
17+
## Validation
18+
19+
<!-- List the commands, platforms, and scenarios used to validate the change. -->
20+
21+
## Visual changes
22+
23+
<!-- Add before/after screenshots or recordings for visible changes. Remove this section when not applicable. -->
24+
25+
## Checklist
26+
27+
- [ ] I have read and followed `CONTRIBUTING.md`.
28+
- [ ] I added or updated tests for changed behavior.
29+
- [ ] I updated documentation for public API or behavior changes.
30+
- [ ] I updated `CHANGELOG.md` and, for breaking changes, `MIGRATION.md`.
31+
- [ ] I ran the formatter, analyzer, package tests, and example tests locally.

‎.github/workflows/ci.yml‎

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
pull_request:
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
13+
concurrency:
14+
group: ci-${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
validate:
19+
name: Format, analyze, and test
20+
runs-on: ubuntu-latest
21+
timeout-minutes: 20
22+
23+
steps:
24+
- name: Check out repository
25+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26+
27+
- name: Set up Flutter from .fvmrc
28+
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
29+
with:
30+
channel: stable
31+
flutter-version-file: .fvmrc
32+
cache: true
33+
pub-cache: true
34+
35+
- name: Print toolchain versions
36+
run: flutter --version
37+
38+
- name: Install package dependencies
39+
run: flutter pub get
40+
41+
- name: Install example dependencies
42+
working-directory: example
43+
run: flutter pub get
44+
45+
- name: Verify formatting
46+
run: >-
47+
dart format --output=none --set-exit-if-changed
48+
lib test example/lib example/test
49+
50+
- name: Analyze package
51+
run: flutter analyze --fatal-infos
52+
53+
- name: Run package tests
54+
run: flutter test
55+
56+
- name: Run example tests
57+
working-directory: example
58+
run: flutter test
59+
60+
- name: Build web example
61+
working-directory: example
62+
run: >-
63+
flutter build web --release
64+
--base-href /flutter_easyloading/
65+
66+
- name: Validate publishable package
67+
run: flutter pub publish --dry-run

‎.github/workflows/greetings.yml‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)