mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
adding more named and explicit imports (#1909)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:ui';
|
||||
import 'dart:ui' as ui;
|
||||
|
||||
import 'package:flutter/foundation.dart' show kDebugMode;
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -78,10 +78,10 @@ class WonkyCharState extends State<WonkyChar>
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
List<FontVariation> fontVariations = [];
|
||||
List<ui.FontVariation> fontVariations = [];
|
||||
for (int i = 0; i < _fvAxes.length; i++) {
|
||||
fontVariations
|
||||
.add(FontVariation(_fvAxes[i], _fvAnimations[i].value as double));
|
||||
.add(ui.FontVariation(_fvAxes[i], _fvAnimations[i].value as double));
|
||||
}
|
||||
return Transform(
|
||||
alignment: Alignment.center,
|
||||
|
||||
Reference in New Issue
Block a user