• Chris Bracken's avatar
    Revert "Add segmented control to gallery (#19192)" (#19227) · 32af1699
    Chris Bracken authored
    This appears to trigger an error during AOT snapshot of the gallery as
    follows:
    
    ```
    stdout: [   +6 ms] Building AOT snapshot in release mode (ios-release)...
    stdout: [  +15 ms] Extra gen_snapshot options: [--print_snapshot_sizes]
    stdout: [   +7 ms] /usr/bin/arch -x86_64 /Users/flutter/.cocoon/flutter/bin/cache/artifacts/engine/ios-release/gen_snapshot --await_is_keyword --causal_async_stacks --packages=.packages --url_mapping=dart:ui,/Users/flutter/.cocoon/flutter/bin/cache/pkg/sky_engine/lib/ui/ui.dart --url_mapping=dart:vmservice_io,/Users/flutter/.cocoon/flutter/bin/cache/pkg/sky_engine/sdk_ext/vmservice_io.dart --embedder_entry_points_manifest=/Users/flutter/.cocoon/flutter/bin/cache/artifacts/engine/ios-release/dart_vm_entry_points.txt --embedder_entry_points_manifest=/Users/flutter/.cocoon/flutter/bin/cache/artifacts/engine/ios-release/dart_io_entries.txt --print_snapshot_sizes --snapshot_kind=app-aot-assembly --assembly=build/aot/arm64/snapshot_assembly.S /Users/flutter/.cocoon/flutter/examples/flutter_gallery/lib/main.dart
    stderr: [+9324 ms] Error: 'file:///Users/flutter/.cocoon/flutter/examples/flutter_gallery/lib/demo/cupertino/cupertino_segmented_control_demo.dart': error: line 19 pos 1: circular dependency for function _CupertinoSegmentedControlDemoState
    stderr: [        ] class _CupertinoSegmentedControlDemoState extends State {
    stderr: [        ] ^
    stderr: [  +33 ms] Dart snapshot generator failed with exit code 254
    stderr: [        ] Snapshotting (IOSArch.arm64) exited with non-zero exit code: 254
    stdout: [        ] Built to build/aot/.
    stdout: [  +10 ms] "flutter aot" took 9,485ms.
    ```
    
    This reverts commit 9d49ee3b.
    32af1699
Name
Last commit
Last update
..
about.dart Loading commit data...
app.dart Loading commit data...
backdrop.dart Loading commit data...
demo.dart Loading commit data...
demos.dart Loading commit data...
example_code.dart Loading commit data...
example_code_parser.dart Loading commit data...
home.dart Loading commit data...
icons.dart Loading commit data...
options.dart Loading commit data...
scales.dart Loading commit data...
syntax_highlighter.dart Loading commit data...
themes.dart Loading commit data...
updater.dart Loading commit data...