flutter-idea/testSrc/unit/io/flutter/editor/FlutterColorProviderTest.java [35:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void locatesColorCtor() throws Exception {
    run(() -> {
      final PsiElement testIdentifier = setUpDartElement("main() { Color(0xFFE3F2FD); }", "Color", LeafPsiElement.class);
      final Color color = new FlutterColorProvider().getColorFrom(testIdentifier);
      assertNotNull(color);
      final DartCallExpression element = DartSyntax.findEnclosingFunctionCall(testIdentifier, "Color");
      assertNotNull(element);
    });
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



flutter-idea/testSrc/unit/io/flutter/editor/FlutterColorProviderTest.java [57:65]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void locatesConstColorArray() throws Exception {
    run(() -> {
      final PsiElement testIdentifier = setUpDartElement("main() { const [Color(0xFFE3F2FD)]; }", "Color", LeafPsiElement.class);
      final Color color = new FlutterColorProvider().getColorFrom(testIdentifier);
      assertNotNull(color);
      final DartCallExpression element = DartSyntax.findEnclosingFunctionCall(testIdentifier, "Color");
      assertNotNull(element);
    });
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



