Add documentation and clean up code. (#11330)

Mainly, this adds documentation to members that were previously
lacking documentation.

It also adds a big block of documentation about improving performance
of widgets.

This also removes some references to package:collection and adds
global setEquals and listEquals methods in foundation that we can use.
(setEquals in particular should be much faster than the
package:collection equivalent, though both should be faster as they
avoid allocating new objects.) All remaining references now qualify
the import so we know what our remaining dependencies are.

Also lots of code reordering in Flutter driver to make the code
consistent and apply the style guide more thoroughly.
This commit is contained in:
Ian Hickson
2017-07-21 16:39:04 -07:00
committed by GitHub
parent e0f3001fde
commit 8f56f6fdd1
46 changed files with 687 additions and 190 deletions

View File

@@ -5,7 +5,7 @@
import 'dart:async';
import 'package:test/test.dart';
import 'package:collection/collection.dart';
import 'package:collection/collection.dart' show ListEquality, MapEquality;
import 'package:flutter_devicelab/framework/adb.dart';