diff --git a/lib/flatter.dart b/lib/flatter.dart index 2e25c61..e1293f0 100644 --- a/lib/flatter.dart +++ b/lib/flatter.dart @@ -1,8 +1,7 @@ library flatter; -import 'dart:ui' as ui - show Shadow, FontFeature, FontVariation, TextLeadingDistribution; import 'dart:ui' as ui show WindowPadding; +import 'dart:ui'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; diff --git a/lib/src/ext/text/text+style.dart b/lib/src/ext/text/text+style.dart index 1ff4aca..d469fc5 100644 --- a/lib/src/ext/text/text+style.dart +++ b/lib/src/ext/text/text+style.dart @@ -46,13 +46,13 @@ extension TextStyleExt on T { double? wordSpacing, TextBaseline? textBaseline, double? height, - ui.TextLeadingDistribution? leadingDistribution, + TextLeadingDistribution? leadingDistribution, Locale? locale, Paint? foreground, Paint? background, - List? shadows, - List? fontFeatures, - List? fontVariations, + List? shadows, + List? fontFeatures, + List? fontVariations, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle,