Michael Goderbauer dcc4b1b535 Reland: Bump lower Dart SDK constraints to 3.0 (flutter/engine#40318)
* WIP

Bump to 3.0.0-0

* fix lints

* drop web_ui

* opt pointer_converter.dart out of dart 3

* Revert "drop web_ui"

This reverts commit b97a015d5cd0d7e0380a4231be4c31aad36671f1.
2023-03-16 08:07:39 -07:00
..

Usage

To generate code for line/word break properties, follow these steps:

1. Download the unicode files:

The properties files can be found on the unicode.org website, for example LineBreak.txt and WordBreakProperty.txt. The codegen script expects the files to be located at third_party/web_unicode/properties/.

2. Run the codegen script:

Inside the third_party/web_unicode directory:

dart tool/unicode_sync_script.dart

Check Mode

If you don't want to generate code, but you want to make sure that the properties files and the codegen files are still in sync, you can run the codegen script in "check mode".

Inside the third_party/web_unicode directory:

dart tool/unicode_sync_script.dart --check

This command won't overwite the existing codegen files. It only checks whether they are still in sync with the properties files or not. If not, it exits with a non-zero exit code.