mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Previously layout was exiting early because the frame view was null. Now we actually compute some layout and paint the text. This patch makes paragraph_builder_test pass.
15 lines
337 B
Dart
15 lines
337 B
Dart
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
part of dart.sky;
|
|
|
|
/// Whether to slant the glyphs in the font
|
|
enum FontStyle {
|
|
/// Use the upright glyphs
|
|
normal,
|
|
|
|
/// Use glyphs designed for slanting
|
|
italic,
|
|
}
|