fix lints for directives_ordering rule (#8382)

This commit is contained in:
Alexandre Ardhuin
2017-02-23 22:37:26 +01:00
committed by Adam Barth
parent 2b61e21b29
commit 8c043d06de
89 changed files with 125 additions and 134 deletions

View File

@@ -5,9 +5,9 @@
// This example shows how to use the ui.Canvas interface to draw various shapes
// with gradients and transforms.
import 'dart:ui' as ui;
import 'dart:math' as math;
import 'dart:typed_data';
import 'dart:ui' as ui;
ui.Picture paint(ui.Rect paintBounds) {
// First we create a PictureRecorder to record the commands we're going to

View File

@@ -5,8 +5,8 @@
// This example shows how to draw some bi-directional text using the raw
// interface to the engine.
import 'dart:ui' as ui;
import 'dart:typed_data';
import 'dart:ui' as ui;
// A paragraph represents a rectangular region that contains some text.
ui.Paragraph paragraph;

View File

@@ -5,8 +5,8 @@
// This example shows how to put some pixels on the screen using the raw
// interface to the engine.
import 'dart:ui' as ui;
import 'dart:typed_data';
import 'dart:ui' as ui;
ui.Color color;

View File

@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../rendering/src/sector_layout.dart';
import 'package:test/test.dart';
import '../rendering/src/sector_layout.dart';
void main() {
test('SectorConstraints', () {
expect(const SectorConstraints().isTight, isFalse);