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.
This commit is contained in:
amirh
2018-01-03 16:42:18 -08:00
committed by GitHub
parent 6fd87c3133
commit e26678cde9

View File

@@ -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 {}