aves_mio1/.flutter/packages/flutter/test_fixes/painting/painting.dart.expect
FabioMich66 19a982ede6
Some checks are pending
Quality check / Flutter analysis (push) Waiting to run
Quality check / CodeQL analysis (java-kotlin) (push) Waiting to run
first commit
2026-03-05 15:51:30 +01:00

26 lines
992 B
Text

// 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.
import 'package:flutter/painting.dart';
void main() {
// Change made in https://github.com/flutter/flutter/pull/121152
final EdgeInsets insets = EdgeInsets.fromViewPadding(ViewPadding.zero, 3.0);
// Change made in https://github.com/flutter/flutter/pull/128522
const TextStyle textStyle = TextStyle()
..getTextStyle(textScaler: TextScaler.linear(math.min(_kTextScaleFactor, 1.0)))
..getTextStyle();
TextPainter(text: inlineSpan);
TextPainter(textScaler: TextScaler.linear(someValue));
TextPainter.computeWidth(textScaler: TextScaler.linear(textScaleFactor));
TextPainter.computeMaxIntrinsicWidth(textScaler: TextScaler.linear(textScaleFactor));
Color color = Color.from(alpha: 1, red: 0, green: 1, blue: 0);
print(color.a);
print(color.toARGB32());
color = color.withValues(alpha: 0.55);
}