Skip to content

Commit

Permalink
Fix visability state
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdizarepour committed Jun 13, 2021
1 parent 8971300 commit a9fbdf9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.4

Fix visability state

## 0.1.3

Add onTap callback
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.3"
version: "0.1.4"
typed_data:
dependency: transitive
description:
Expand Down
3 changes: 2 additions & 1 deletion lib/transformable_frame.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class _TransformableFrameState extends State<TransformableFrame> {

@override
void initState() {
_visable = widget.visable;
matrix = widget.matrix ?? Matrix4.identity();
_handlerMatrix = Matrix4.identity();
size = widget.size ?? Size(double.infinity, double.infinity);
Expand Down Expand Up @@ -115,6 +114,8 @@ class _TransformableFrameState extends State<TransformableFrame> {

@override
Widget build(BuildContext context) {
_visable = widget.visable;

return Transform(
transform: matrix,
alignment: FractionalOffset.center,
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: transformable_frame
description: Transformable frame.
version: 0.1.3
version: 0.1.4
author: Mehdi Zarepour<mehdi.zarepoor@gmail.com>
homepage: https://github.com/mehdizarepour/transformable_frame

Expand Down

0 comments on commit a9fbdf9

Please sign in to comment.