Skip to content

Commit

Permalink
🎉 feat: 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltyAom committed Jul 4, 2023
1 parent 6e86481 commit 701c9f1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 26 deletions.
25 changes: 0 additions & 25 deletions lib/proxy/textStyle.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions lib/widget/selectableText.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// ignore_for_file: deprecated_member_use

import 'dart:ui' as ui;

import 'package:flutter/gestures.dart';
Expand Down
2 changes: 2 additions & 0 deletions lib/widget/textFormField.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 701c9f1

Please sign in to comment.