1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Brett Morgan
1ccf95bd55 Update linting_tool (#1975)
This is to work around a CI failure on `master` channel.

Context:
https://github.com/flutter/samples/actions/runs/5709180900/job/15467660430#step:5:1244

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-08-01 11:02:04 +10:00
Parker Lougheed
908e1cce83 Account for new generated rules.json location in linter tool (#1956)
In preparation for the linter moving to the SDK, the `rules.json` file
is no longer generated to its own location. The site-www version is
better guaranteed to be up to date and match the `stable` release of
Dart.
2023-07-21 19:49:25 -05:00
Parker Lougheed
f9e1a99d1a Account for linter changes in linter_tool (#1930) 2023-07-01 15:41:32 +10:00
Brett Morgan
eac6afac14 desktop_photo_search: getSavePath is deprecated (#1910)
This PR fixes a [CI
breakage](https://github.com/flutter/samples/actions/runs/5362518576/jobs/9729453534):

```console
Analyzing fluent_ui...

   info - lib/src/widgets/unsplash_search_content.dart:51:38 - 'getSavePath' is deprecated and shouldn't be used. Use getSaveLocation instead. Try replacing the use of the deprecated member with the replacement. - deprecated_member_use

1 issue found.
Error: Process completed with exit code 1.
```

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-06-25 10:44:16 +10:00
Brett Morgan
36e7a6ab04 Update for Flutter 3.10 beta (#1746)
## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.

---------

Co-authored-by: David Iglesias <ditman@gmail.com>
Co-authored-by: Mark Thompson <2554588+MarkTechson@users.noreply.github.com>
Co-authored-by: John Ryan <ryjohn@google.com>
2023-05-11 06:16:31 +10:00
Miguel Beltran
cbadb3a2e5 enable Material 3 on linting_tool (#1634) 2023-02-07 16:38:00 +01:00
Brett Morgan
5401bb88b4 Flutter 3.7.0 (#1556)
* Update `simplistic_editor` for Flutter 3.4 beta

* Re-enable beta and master CI

* Disable on master

* Added sample code for using plugins and channels from background isolates.

* goderbauer feedback 1

* goderbauer feedback2

* goderbauer feedback 3

* Add `background_isolate_channels` to CI

* Enable beta CI

* Enable all `stable` CI projects

* `dart fix --apply`

* `print` -> `denugPrint`

* Make deps min version not pinned

* Drop `_isDebug`

* Remove unused import

* `dart format`

* Fixup `linting_tool`

* Fixup `form_app`

* Enable all `master` CI

* Basic fixes

* Patch `simplistic_editor`

* Fix nl at eol

* Comment out `simplistic_editor`

* Incorporating @bleroux's latest changes

* Clean up CI scripts

* Copy `experimental/material_3_demo` to top level

* Update `game_template`

* Update `animations`

* Update `desktop_photo_search`

* Update `flutter_maps_firestore`

* Update `form_app`

* Update `infinite_list`

* Update `isolate_example`

* Update `jsonexample`

* Update `navigation_and_routing`

* Update `place_tracker`

* Update `platform_channels`

* Update `platform_design`

* Update `provider_shopper`

* Fixup `context_menus`

* `dart format`

* Update the main `material_3_demo`

* Make `tool/flutter_ci_script_stable.sh` executable again

Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
Co-authored-by: Aaron Clarke <aaclarke@google.com>
2023-01-25 09:08:51 +10:00
Brett Morgan
9d8aa333ee Update for Material changes & run rebuild scripts (#1412) 2022-09-01 11:01:17 +10:00
Parker Lougheed
d6296157f4 Some linting_tool updates and cleanup (#1279) 2022-05-23 14:48:16 +10:00
Brett Morgan
3a0a652984 Add use_super_parameters lint (#1269) 2022-05-17 02:53:27 -07:00
Brett Morgan
ccd68f34e2 Beta (#1234) 2022-05-11 12:48:11 -07:00
Brett Morgan
f998c9577e Add unawaited_futures (#1148) 2022-04-27 09:24:19 +10:00
Brett Morgan
a5203b071c linting_tool: Fix warnings and update dependencies (#981) 2022-01-06 15:16:23 +10:00
Andrew Brogdon
664b63c03c Updates for 2.8! (#961) 2021-12-09 13:15:57 +10:00
Brett Morgan
bdf7ad36da [CI]: dart analyze --fatal-infos (#954) 2021-12-01 12:10:44 +10:00
Brett Morgan
e160f5261c experimental/linting_tool: dart fix (#915) 2021-10-08 09:18:41 -07:00
Abdullah Deshmukh
410e43fbc1 [linting_tool] Prepare for release (#880) 2021-08-24 09:26:55 +10:00
Abdullah Deshmukh
0aad30fc5b Add new DefaultRulesPage (#875) 2021-08-17 11:50:14 +10:00
Abdullah Deshmukh
1e00fd0bde [linting_tool] Implement editing profile (#874) 2021-08-17 09:05:30 +10:00
Abdullah Deshmukh
bd4fa28584 Implements default lints page (#871) 2021-08-17 05:34:34 +10:00
Abdullah Deshmukh
a68f3f57d6 [linting_tool] Stop duplication of rules in the same profile (#870) 2021-08-11 12:46:16 +10:00
Abdullah Deshmukh
9986fe2f2c [linting_tool] Implement exporting profiles (#869) 2021-08-10 13:35:59 +10:00
Abdullah Deshmukh
bbb8e342f1 [linting_tool] Implement saving rules to DB (#860) 2021-08-05 08:18:22 +10:00
Abdullah Deshmukh
6bac1b9694 [linting_tool] Add lint rules list (#856) 2021-07-21 21:29:28 +10:00
Abdullah Deshmukh
8e73c73f4b [linting_tool] Add Adaptive Layout with Theming (#852) 2021-07-14 07:31:14 +10:00
Abdullah Deshmukh
8573269c03 Add Linting tool starter project (#840) 2021-07-06 14:05:21 +10:00