Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: flutter/flutter

Tags

3.32.0-0.3.pre

Toggle 3.32.0-0.3.pre's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update `engine.version` (#168069)

Rolls up to 453dd71.

3.32.0-0.2.pre

Toggle 3.32.0-0.2.pre's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Make a NOP edit to (re)-trigger postsubmits (#167407)

3.32.0-0.1.pre

Toggle 3.32.0-0.1.pre's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Create `engine.version` (#166995)

Point to the latest build on this branch, 72ee26e.

3.29.3

Toggle 3.29.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[flutter_releases] Pin engine version for 3.29.3 stable (#166936)

3.32.0-0.0.pre

Toggle 3.32.0-0.0.pre's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix warnings in FGP (#166727)

Fixes/suppresses all warnings:

1. Fixes #162695
2. Suppresses warnings about the various `*Variant*` imports that we use
being deprecated, with comments linking to
#166550 to migrate to the
variant api.
3. Fixes some unused elvis operators and unneeded types provided for
declarations that AGP complains about, e.g. `val fooString: String = "a
string"`, and use of deprecated string related methods.
4. Follows up on #166277, as we
were getting a warning mentioned in this comment
#166277 (comment).
5. Suppresses some warnings about unused code where the analysis
couldn't properly detect it being used (i.e., it isn't unused)

(4) is more opinionated, let me know if you think it should be done in a
follow up.

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

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

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md

---------

Co-authored-by: Gray Mackall <[email protected]>

3.31.0-0.1.pre

Toggle 3.31.0-0.1.pre's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update dart version for 3.31.0 (#165312)

Update and engine version. 

For engine selected the last landed version of 3.31 commit as opposed to the previous commit in this chain.

3.29.2

Toggle 3.29.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[flutter_releases] Flutter stable 3.29.0 engine version change (#165139)

Only the engine version change.

3.31.0-0.0.pre

Toggle 3.31.0-0.0.pre's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
#163840 - CupertinoButton cursor doesn't change to clickable on deskt…

…op (#164196)

<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->

This PR addresses Issue number: 163840, where when hovering over a
Cupertino button the mouse cursor wouldn't switch to clickable and there
wasn't any option to configure it.

Adds Mouse cursor to CupertinoButton, CupertinoButton.Filled and
CupertinoButton.Tinted

Fixes #163840
Part of #58192

Demo of the changes


https://github.com/user-attachments/assets/2e5d874e-cdfe-44bf-9710-bbbde99be3f7

Code snippet showing new behavior

```dart
import 'package:flutter/cupertino.dart';

void main() => runApp(
  // const Center(child: Text('Hello, world!', key: Key('title'), textDirection: TextDirection.ltr)),
  CupertinoApp(
    theme: const CupertinoThemeData(
      brightness: Brightness.light,
    ),
    home: Center(
      child: Column(
        spacing: 5.0,
        mainAxisAlignment: MainAxisAlignment.center,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: <Widget>[
          CupertinoButton(
            onPressed: (){},
            child: const Text('Default Cursor'),
          ),
          CupertinoButton(
            onPressed: (){},
            mouseCursor: SystemMouseCursors.grab,
            child: const Text('Custom Cursor'),
          ),
          CupertinoButton.filled(
            onPressed: (){},
            mouseCursor: SystemMouseCursors.copy,
            child: const Text('Custom Cursor 2'),
          ),
          CupertinoButton.tinted(
            onPressed: (){},
            mouseCursor: SystemMouseCursors.help,
            child: const Text('Custom Cursor 2'),
          ),
        ],
      )
    ),
  ),
);
```


*List which issues are fixed by this PR. You must list at least one
issue. An issue is not required if the PR fixes something trivial like a
typo.*

*If you had to change anything in the [flutter/tests] repo, include a
link to the migration guide as per the [breaking change policy].*

## Pre-launch Checklist



- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

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

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md

---------

Co-authored-by: Tong Mu <[email protected]>
Co-authored-by: Tirth <[email protected]>
Co-authored-by: Victor Sanni <[email protected]>

3.29.1

Toggle 3.29.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[stable] Cherry pick changelog update (#164143)

This PR updates the changelog for this cherry pick: #164050.

If that cherry pick was successful, the presubmit test should not fail on this PR.

3.30.0-0.1.pre

Toggle 3.30.0-0.1.pre's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update engine.version file for 3.30.0-0.1.pre release (#163267)

Point engine.version to binaries from: #163167