diff --git a/lib/proxy/textStyle.dart b/lib/proxy/textStyle.dart index 5772e4c..72cd977 100644 --- a/lib/proxy/textStyle.dart +++ b/lib/proxy/textStyle.dart @@ -58,31 +58,6 @@ abstract class TextStyleProxy { static TextTheme _theme(BuildContext context) => _theme(context); - set h1(BuildContext context) => - _style.apply = _theme(context).headline1?.asNiku; - set h2(BuildContext context) => - _style.apply = _theme(context).headline2?.asNiku; - set h3(BuildContext context) => - _style.apply = _theme(context).headline3?.asNiku; - set h4(BuildContext context) => - _style.apply = _theme(context).headline4?.asNiku; - set h5(BuildContext context) => - _style.apply = _theme(context).headline5?.asNiku; - set h6(BuildContext context) => - _style.apply = _theme(context).headline6?.asNiku; - set body1(BuildContext context) => - _style.apply = _theme(context).bodyText1?.asNiku; - set body2(BuildContext context) => - _style.apply = _theme(context).bodyText2?.asNiku; - set subtitle1(BuildContext context) => - _style.apply = _theme(context).subtitle1?.asNiku; - set subtitle2(BuildContext context) => - _style.apply = _theme(context).subtitle2?.asNiku; - set overline(BuildContext context) => - _style.apply = _theme(context).overline?.asNiku; - set button(BuildContext context) => - _style.apply = _theme(context).button?.asNiku; - /* Material 3 addition */ set displayLarge(BuildContext context) => _style.apply = _theme(context).displayLarge?.asNiku; diff --git a/lib/widget/selectableText.dart b/lib/widget/selectableText.dart index 78be4c8..298f639 100644 --- a/lib/widget/selectableText.dart +++ b/lib/widget/selectableText.dart @@ -1,3 +1,5 @@ +// ignore_for_file: deprecated_member_use + import 'dart:ui' as ui; import 'package:flutter/gestures.dart'; diff --git a/lib/widget/textFormField.dart b/lib/widget/textFormField.dart index 768b859..d7aff26 100644 --- a/lib/widget/textFormField.dart +++ b/lib/widget/textFormField.dart @@ -1,3 +1,5 @@ +// ignore_for_file: deprecated_member_use + import 'package:flutter/material.dart'; import 'package:flutter/cupertino.dart' show CupertinoTextField; import 'package:flutter/services.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index e210998..a48f378 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ dependencies: flutter: sdk: flutter - collection: ^1.17.2 + collection: ^1.17.1 # Wait until cached network image support web platform # cached_network_image: ^3.2.0 # flutter_cache_manager: ^3.3.0