Skip to content

Commit

Permalink
Merge pull request #21 from playx-flutter/qa
Browse files Browse the repository at this point in the history
update v0.4.3
  • Loading branch information
basemosama committed Mar 21, 2024
2 parents 1aabc59 + b6c792e commit c20312e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.4.1 - 0.4.2
## 0.4.1 - 0.4.3

> Note: This release has breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Playx Theme is a Flutter package that provides a simple and easy way to manage a
in `pubspec.yaml` add these lines to `dependencies`

```yaml
playx_theme: ^0.4.2
playx_theme: ^0.4.3
```
## Usage
Expand Down
2 changes: 1 addition & 1 deletion lib/src/controller/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ class XThemeController extends ValueNotifier<XTheme> {
}

void updateThemeAnimationController(AnimationController? controller) {
controller = controller;
this.controller = controller;
}

@override
Expand Down
2 changes: 1 addition & 1 deletion lib/src/model/x_theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class XTheme extends Equatable {
required this.name,
required ThemeData initialTheme,
required this.themeBuilder,
required this.cupertinoThemeBuilder,
this.cupertinoThemeBuilder,
this.colors = const DefaultColors(),
this.isDark = false,
}) : themeData = initialTheme,
Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/playx_theme_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PlayxThemeBuilder extends StatefulWidget {
this.builder,
this.child,
this.duration = const Duration(milliseconds: 300),
}) : assert(builder != null && child != null);
}) : assert(builder != null || child != null);

final ThemeBuilder? builder;
final Widget? child;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: playx_theme
description: Easily change and configure current app theme with a unique animation and more.
version: 0.4.2
version: 0.4.3
homepage: https://github.com/playx-flutter/playx_theme
repository: https://github.com/playx-flutter/playx_theme
issue_tracker: https://github.com/playx-flutter/playx_theme/issues
Expand Down

0 comments on commit c20312e

Please sign in to comment.