Repository: flutter
Issue: Enabling Textfield.obscureText without does not disable autocomplete until the textfield loses and regains focus
Labels: a: text input,engine,a: desktop,has reproducible steps,P2,workaround available,found in release: 3.7,found in release: 3.9,team-text-input,triaged-text-input

[Touch Bar](https://support.apple.com/guide/mac-help/use-the-touch-bar-mchlbfd5b039/mac) by default shows typing suggestions. This happens also for Flutter `TextField`s which have `obscureText` set to `true`. 

`obscureText` is usually set for input fields with sensitive content, such as passwords and pins. Showing this content in clear text could be considered to be a security risk.

This issue can be reproduced on MacBooks with Touch Bar or on MacBooks without Touch Bar with  Touch Bar simulation turned on (XCode -> Window -> Touch Bar menu).

## Steps to Reproduce
1. run the attached sample code
2. write in the text field
3. click the eye icon to reveal the text
4. click out of the text field and back to the text field
   - now you see your the clear text in the text field and in the touch bar
5. click the eye icon to obscure the text
   - now the text in the text field is obscured
6. continue typing (don't click anywhere else)

**Expected:** the touch bar does not show the obscured text

**What really happens:** I can see the obscured text as clear text in touch bar. See the attached screen recording:

https://user-images.githubusercontent.com/1954891/224259641-0cf9a9f9-6645-44b3-a6b0-397c1322731a.mp4

Please note that for reproducing the issue in `master` or `beta`, one needs to change the `obscureText` property without altering focus.

## Details
<details>
<summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: Scaffold(body: DemoWidget()));
  }
}

class DemoWidget extends StatefulWidget {
  const DemoWidget({super.key});

  @override
  State<DemoWidget> createState() => _DemoWidgetState();
}

class _DemoWidgetState extends State<DemoWidget> {
  bool _obscureText = true;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        alignment: Alignment.centerLeft,
        padding: const EdgeInsets.all(6),
        child: TextField(
          obscureText: _obscureText,
          decoration: InputDecoration(
            suffixIcon: IconButton(
              icon: Icon(
                _obscureText ? Icons.visibility : Icons.visibility_off,
                color: IconTheme.of(context).color,
              ),
              onPressed: () {
                setState(() {
                  _obscureText = !_obscureText;
                });
              },
            ),
          ),
        ),
      ),
    );
  }
}
```
</details>

### Reproduced in `stable`
```
[✓] Flutter (Channel stable, 3.7.7, on macOS 13.2.1 22D68 darwin-arm64, locale en-SE)
```
https://user-images.githubusercontent.com/1954891/224071781-6786ed9f-8e0c-4a78-89cf-40849f9cf328.mp4


### Reproduced in `main` and `beta`
```
[✓] Flutter (Channel main, 3.9.0-1.0.pre.121, on macOS 13.2.1 22D68 darwin-arm64, locale en-SE)
[✓] Flutter (Channel beta, 3.8.0-10.1.pre, on macOS 13.2.1 22D68 darwin-arm64, locale en-SE)
```

https://user-images.githubusercontent.com/1954891/224077330-fa975217-f073-4ba5-86fe-84d7c90f7cb8.mp4