Fix minor typos (EdgeInsets, ImageResource)

This commit is contained in:
Hixie 2016-03-23 17:15:45 -07:00
parent f57a84b390
commit 24f93f7353
2 changed files with 7 additions and 5 deletions

View File

@ -19,10 +19,12 @@ class EdgeInsets {
: top = value, right = value, bottom = value, left = value;
/// Constructs insets with only the given values non-zero.
const EdgeInsets.only({ this.top: 0.0,
this.right: 0.0,
this.bottom: 0.0,
this.left: 0.0 });
const EdgeInsets.only({
this.top: 0.0,
this.right: 0.0,
this.bottom: 0.0,
this.left: 0.0
});
/// Constructs insets with symmetrical vertical and horizontal offsets.
const EdgeInsets.symmetric({ double vertical: 0.0,

View File

@ -73,7 +73,7 @@ class ImageResource {
/// The first concrete [ImageInfo] object represented by this handle.
///
/// Instead of receivingly only the first image, most clients will want to
/// Instead of receiving only the first image, most clients will want to
/// [addListener] to be notified whenever a a concrete image is available.
Future<ImageInfo> get first => _futureImage;