Skip to content

Commit 701c9f1

Browse files
committed
🎉 feat: 2.4
1 parent 6e86481 commit 701c9f1

File tree

4 files changed

+5
-26
lines changed

4 files changed

+5
-26
lines changed

lib/proxy/textStyle.dart

-25
Original file line numberDiff line numberDiff line change
@@ -58,31 +58,6 @@ abstract class TextStyleProxy {
5858

5959
static TextTheme _theme(BuildContext context) => _theme(context);
6060

61-
set h1(BuildContext context) =>
62-
_style.apply = _theme(context).headline1?.asNiku;
63-
set h2(BuildContext context) =>
64-
_style.apply = _theme(context).headline2?.asNiku;
65-
set h3(BuildContext context) =>
66-
_style.apply = _theme(context).headline3?.asNiku;
67-
set h4(BuildContext context) =>
68-
_style.apply = _theme(context).headline4?.asNiku;
69-
set h5(BuildContext context) =>
70-
_style.apply = _theme(context).headline5?.asNiku;
71-
set h6(BuildContext context) =>
72-
_style.apply = _theme(context).headline6?.asNiku;
73-
set body1(BuildContext context) =>
74-
_style.apply = _theme(context).bodyText1?.asNiku;
75-
set body2(BuildContext context) =>
76-
_style.apply = _theme(context).bodyText2?.asNiku;
77-
set subtitle1(BuildContext context) =>
78-
_style.apply = _theme(context).subtitle1?.asNiku;
79-
set subtitle2(BuildContext context) =>
80-
_style.apply = _theme(context).subtitle2?.asNiku;
81-
set overline(BuildContext context) =>
82-
_style.apply = _theme(context).overline?.asNiku;
83-
set button(BuildContext context) =>
84-
_style.apply = _theme(context).button?.asNiku;
85-
8661
/* Material 3 addition */
8762
set displayLarge(BuildContext context) =>
8863
_style.apply = _theme(context).displayLarge?.asNiku;

lib/widget/selectableText.dart

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore_for_file: deprecated_member_use
2+
13
import 'dart:ui' as ui;
24

35
import 'package:flutter/gestures.dart';

lib/widget/textFormField.dart

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// ignore_for_file: deprecated_member_use
2+
13
import 'package:flutter/material.dart';
24
import 'package:flutter/cupertino.dart' show CupertinoTextField;
35
import 'package:flutter/services.dart';

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
collection: ^1.17.2
14+
collection: ^1.17.1
1515
# Wait until cached network image support web platform
1616
# cached_network_image: ^3.2.0
1717
# flutter_cache_manager: ^3.3.0

0 commit comments

Comments
 (0)