Skip to content

Commit

Permalink
word mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii committed Feb 1, 2024
1 parent 6bcf199 commit b4e6705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/theme_tailor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ import 'package:theme_tailor_annotation/theme_tailor_annotation.dart';
part 'my_theme.tailor.dart';
@TailorMixin()
class MyTheme extends ThemeExntension<MyTheme> with _$MyThemeTailorMixin {
class MyTheme extends ThemeExtension<MyTheme> with _$MyThemeTailorMixin {
/// You can use required / named / optional parameters in the constructor
// const MyTheme(this.background);
// const MyTheme([this.background = Colors.blue])
Expand Down Expand Up @@ -427,7 +427,7 @@ After migration, your new theme extension class will look like:
part 'my_theme.tailor.dart';
@TailorMixin()
class MyTheme extends ThemeExntension<MyTheme> with _$MyThemeTailorMixin {
class MyTheme extends ThemeExtension<MyTheme> with _$MyThemeTailorMixin {
MigratedSimpleTheme({required this.background});
final Color background;
}
Expand Down

0 comments on commit b4e6705

Please sign in to comment.