animated_icons.dart 1.42 KB
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1
// Copyright 2014 The Flutter Authors. All rights reserved.
2 3 4 5 6 7 8
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/// Flutter widgets implementing Material Design animated icons.
library material_animated_icons;

import 'dart:math' as math show pi;
9
import 'dart:ui' as ui show Canvas, Paint, Path;
10 11
import 'dart:ui' show lerpDouble;

12
import 'package:flutter/foundation.dart' show clampDouble;
13
import 'package:flutter/widgets.dart';
14 15 16 17 18

// This package is split into multiple parts to enable a private API that is
// testable.

// Public API.
19
part 'animated_icons/animated_icons.dart';
20

21 22
// Provides a public interface for referring to the private icon
// implementations.
23
part 'animated_icons/animated_icons_data.dart';
24

25
// Generated animated icon data files.
26
part 'animated_icons/data/add_event.g.dart';
27
part 'animated_icons/data/arrow_menu.g.dart';
28 29 30 31 32
part 'animated_icons/data/close_menu.g.dart';
part 'animated_icons/data/ellipsis_search.g.dart';
part 'animated_icons/data/event_add.g.dart';
part 'animated_icons/data/home_menu.g.dart';
part 'animated_icons/data/list_view.g.dart';
33
part 'animated_icons/data/menu_arrow.g.dart';
34 35 36 37 38 39
part 'animated_icons/data/menu_close.g.dart';
part 'animated_icons/data/menu_home.g.dart';
part 'animated_icons/data/pause_play.g.dart';
part 'animated_icons/data/play_pause.g.dart';
part 'animated_icons/data/search_ellipsis.g.dart';
part 'animated_icons/data/view_list.g.dart';