ui.dart 640 Bytes
Newer Older
1 2 3 4 5 6
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// @dart = 2.12

7
/// This is a dummy dart:ui package for the sample code analyzer tests to use.
8 9
library dart.ui;

10
/// Bla bla bla bla bla bla bla bla bla.
11 12 13
///
/// ```dart
/// class MyStringBuffer {
14
///   error; // error (prefer_typing_uninitialized_variables, inference_failure_on_uninitialized_variable, missing_const_final_var_or_type)
15
///
16
///   StringBuffer _buffer = StringBuffer(); // error (prefer_final_fields, unused_field)
17 18
/// }
/// ```
19 20
class Foo {
  const Foo();
21
}