Michael Goderbauer
Michael Goderbauer
In Flutter's API docs we are passing `channel=master` as a query param to dart pad to run sample code on the `master`/`main` branch. This broke recently when `channel=master` instead gave...
```dart /// This is a List. const String foo = 'hello'; /// This is a `List`. const String bar = 'hello'; /// This is a /// /// ```dart /// List...
See https://github.com/flutter/flutter/pull/143588/files. I would have expected that the following doc comment generates a dartdoc error because "SnackBarAction." (note the dot at the end) is not a valid reference. Instead, it...
There's `--allow-warnings-in-packages` and `--allow-errors-in-packages` to only show warnings of certain packages. This is useful for meta-packages like Flutter that only want to show warnings of the packages they control. It...
Internal: b/112618495 Flutter cannot properly detect word breaks in Chinese and Japanese text because the ICU configuration that we ship with Flutter doesn't include the dictionary to provide that functionality....
Steps to reproduce: 1. Checkout the snippets tool from https://github.com/flutter/assets-for-api-docs/tree/main/packages/snippets 2. Modify https://github.com/flutter/flutter/blob/master/dev/bots/docs.sh to activate the snippets tool from the local checkout: ``` "$DART" pub global activate --source path ```...
Using Listenables in stateful widgets often has a lot of boilerplate, see example in https://gist.github.com/goderbauer/b82efcb154c3fe1814a0d0b60d277def: * listener is added in `initState` * listener is moved to new object in `didUpdateWidget`...
## Add basic multi-view rendering support - [x] Design documents - [x] https://flutter.dev/go/multiple-views - [x] https://flutter.dev/go/multi-view-embedder-apis - [x] https://flutter.dev/go/desktop-multi-view-runner-apis - [x] https://flutter.dev/go/multi-view-sync-over-async - [x] Add multi-view `dart:ui` APIs - [x]...
```dart import 'package:flutter/material.dart'; void main() => runApp(const SelectionAreaExampleApp()); class SelectionAreaExampleApp extends StatelessWidget { const SelectionAreaExampleApp({super.key}); @override Widget build(BuildContext context) { return MaterialApp( home: SelectionArea( child: Scaffold( appBar: AppBar(title: const Text('SelectionArea...