1. 02 Aug, 2018 1 commit
  2. 30 Jul, 2018 3 commits
  3. 27 Jul, 2018 1 commit
  4. 24 Jul, 2018 1 commit
    • Jonah Williams's avatar
      Semantics framework updates (#18758) · 810a29d6
      Jonah Williams authored
      Changes:
      
      - Move the SemanticsConfiguration update from RenderToggleable to each subclass, so that Switch can use toggled.
      - Add image, liveRegion, toggled properties to Semantics, SemanticsConfiguration, SemanticsNode
      - Added semanticsLabel and excludeFromSemantics to Image (the latter so that we avoid creating a semantics node)
      - Added onDismiss semantics action which maps to the modal escape on iOS and dismiss action on Android.
      - Added dismiss and liveRegion to snackbar widget
      - Updated custom painter semantics to handle image, liveRegion, toggle
      - Updated relevant tests to use correct flag/action
      810a29d6
  5. 23 Jul, 2018 1 commit
  6. 20 Jul, 2018 2 commits
  7. 18 Jul, 2018 1 commit
  8. 16 Jul, 2018 2 commits
  9. 11 Jul, 2018 1 commit
  10. 10 Jul, 2018 2 commits
    • 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
    • Natalie Sampsell's avatar
      Add segmented control to gallery (#19192) · 9d49ee3b
      Natalie Sampsell authored
      * Adding segmented control to gallery
      9d49ee3b
  11. 27 Jun, 2018 1 commit
  12. 22 Jun, 2018 1 commit
  13. 21 Jun, 2018 1 commit
    • amirh's avatar
      Move the notch computation from the FAB to the BAB. (#18372) · c39f2f26
      amirh authored
      Move the notch computation from the FAB to the BAB.
      
      The notch in the BAB (bottom action bar) for the FAB (floating action button) was previously kept as part of the FAB's implementation. This was done to keep the shape of the FAB and the shape of the notch coupled.
      That approach resulted in a somewhat complex and 'non Fluttery' mechanism for propagating the notch computation from the FAB to the BAB.
      
      This CL uncouples the FAB and the notch computation.
      With the new API the BAB computes its overall shape including the notch using a NotchedShape delegate.
      
      This includes multiple breaking changes:
        * Scaffold.setFloatingActionButtonNotchFor is deleted.
        * The ComputeNotch type is deleted.
        * The hasNotch property of BottomAppBar is deleted.
        * The notchMargin property of FloatingActionButton is deleted.
      
      Quick migration guide from the previous API:
      
      | Previous API | New API |
      | ------------------|-------------|
      | BottomAppBar(hasNotch: false) | BottomAppBar() |
      | Using a FloatingActionButton with: BottomAppBar() / BottomAppBar(hasNotch: true) | BottomAppBar(shape: CircularNotchedRectangle()) |
      | Scaffold.setFloatingActionButtonNotchFor(..) | No longer supported |
      c39f2f26
  14. 19 Jun, 2018 1 commit
  15. 14 Jun, 2018 1 commit
  16. 13 Jun, 2018 2 commits
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
    • Alexandre Ardhuin's avatar
  17. 11 Jun, 2018 1 commit
    • Greg Spencer's avatar
      Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) · 6c56bb24
      Greg Spencer authored
      Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
      
      Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
      
      No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
      6c56bb24
  18. 10 Jun, 2018 1 commit
  19. 09 Jun, 2018 1 commit
  20. 07 Jun, 2018 2 commits
  21. 06 Jun, 2018 1 commit
  22. 05 Jun, 2018 1 commit
  23. 31 May, 2018 1 commit
  24. 30 May, 2018 2 commits
  25. 24 May, 2018 1 commit
  26. 18 May, 2018 2 commits
  27. 17 May, 2018 1 commit
    • Greg Spencer's avatar
      Moving API doc asset URLs to point to the new location. (#17697) · ac67efbc
      Greg Spencer authored
      I'm moving the assets in the assets-for-api-docs repo to a slightly different location to help with organization in that repo, so this PR points the doc URLs to the new location. The old assets won't be removed until this PR makes its way to the API docs website.
      
      No documentation or code changes here, other than changing doc image URLs.
      ac67efbc
  28. 11 May, 2018 2 commits
  29. 07 May, 2018 1 commit
  30. 03 May, 2018 1 commit