• 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
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.coveralls.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...