Skip to content

Commit

Permalink
remove textTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
den0206 committed May 13, 2023
1 parent 9902598 commit ad0b488
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/src/widget/app.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:flutter/material.dart';
import 'package:flutter_neumorphic/flutter_neumorphic.dart';

class NeumorphicApp extends StatelessWidget {
Expand Down Expand Up @@ -86,13 +85,8 @@ class NeumorphicApp extends StatelessWidget {

return ThemeData(
primaryColor: theme.accentColor,
accentColor: theme.variantColor,
iconTheme: theme.iconTheme,
brightness: ThemeData.estimateBrightnessForColor(theme.baseColor),
primaryColorBrightness:
ThemeData.estimateBrightnessForColor(theme.accentColor),
accentColorBrightness:
ThemeData.estimateBrightnessForColor(theme.variantColor),
textTheme: theme.textTheme,
scaffoldBackgroundColor: theme.baseColor,
);
Expand Down

0 comments on commit ad0b488

Please sign in to comment.