Unverified Commit e26678cd authored by amirh's avatar amirh Committed by GitHub

Add missing imports to animated_icons_private_test (#13893)

This started breaking the analyzer following https://github.com/flutter/flutter/pull/13889
The test version of the material_animated_icons did not include the meta
package (needed for the @required tag) and was also not including all
the generated icons files.

Ideally we should find a way to fix this without enumerating all the
icons in the test file.
But for now just adding the missing file to fix the build breakage.
parent 6fd87c31
......@@ -16,10 +16,12 @@ import 'dart:ui' as ui show Paint, Path, Canvas;
import 'package:flutter/animation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:meta/meta.dart';
import 'package:mockito/mockito.dart';
part 'package:flutter/src/material_animated_icons/animated_icons.dart';
part 'package:flutter/src/material_animated_icons/animated_icons_data.dart';
part 'package:flutter/src/material_animated_icons/data/arrow_menu.g.dart';
part 'package:flutter/src/material_animated_icons/data/menu_arrow.g.dart';
class MockCanvas extends Mock implements ui.Canvas {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment