1. 08 Feb, 2018 7 commits
    • asiva's avatar
      Fuse --strong into --preview-dart-2 option. · 83e0ca24
      asiva authored
      83e0ca24
    • Vyacheslav Egorov's avatar
      Partially fix Dart 2 issues in animated_icons.test. (#14531) · 4814303b
      Vyacheslav Egorov authored
      Use mockito in the Dart 2 compliant way:
      
      * use typed(...) in appropriate places to wrap matchers like any;
      * don't pass matcher directly into the calls - use `argThat(matcher)`.
      
      Also rename paintColorMatcher to hasColor to match how other similar
      functions are named and how the code reads.
      4814303b
    • Vyacheslav Egorov's avatar
      Strong mode fixes in tests (#14520) · 0556e14f
      Vyacheslav Egorov authored
      * Use explicit types for onClick handler in diagnostics_test.
      
      This test formats it to string and expects exact match.
      
      Before this change onClick had type () => dynamic in Dart 1 and () => Null in
      Dart 2.
      
      * Fix strong mode issues in packages/flutter/test/material/dropdown_test.dart
      
      Pass explicit type argument to renderObjectList(...) in expressions like
      
           List<RenderBox> l = tester.renderObjectList(...).toList();
      
      Dart 2 mode inference is not strong enough to infer RenderBox as a type argument
      fto renderObjectList and passes RenderObject instead, which later leads to
      runtime check failures (because List<RenderObject> is not List<RenderBox>).
      
      * Fix strong mode issues in packages/flutter/test/material/theme_test.dart.
      
      Pass type argument explicity to widgetList. Dart 2 type inference can't infer
      it by itself.
      
      * Fix strong mode issue packages/flutter/test/widgets/unique_widget_test.dart
      
      Pass correct type argument to GlobalKey.
      
      * Fix type annotation in packages/flutter/test/material/app_test.dart.
      
      pushNamed returns Future<Object> not Future<String>.
      0556e14f
    • asiva's avatar
      Fix typo. · 8acb6888
      asiva authored
      8acb6888
    • asiva's avatar
      Fix issues. · bdc6f102
      asiva authored
      bdc6f102
    • asiva's avatar
      Revert "Fixes in flutter framework code to address the mixin issue raised" · e122d5d1
      asiva authored
      This reverts commit 1c236d52.
      e122d5d1
    • asiva's avatar
      Roll dart sdk to 2.0.0-dev.20.0 · fb9743d7
      asiva authored
      fb9743d7
  2. 07 Feb, 2018 14 commits
  3. 06 Feb, 2018 17 commits
  4. 05 Feb, 2018 2 commits