Visitar URL original
[animations] added onClosed by The-Redhat · Pull Request #122 · flutter/packages · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove space
  • Loading branch information
gregor
gregor committed Apr 4, 2020
commit 189ac17beffbf3f9e9922e6e3c05992ddab5f715
4 changes: 1 addition & 3 deletions packages/animations/lib/src/open_container.dart
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class _OpenContainerState extends State<OpenContainer> {
transitionDuration: widget.transitionDuration,
transitionType: widget.transitionType,
));
if (widget.onClosed != null){
if (widget.onClosed != null) {
widget.onClosed();
}
}
Expand Down Expand Up @@ -294,7 +294,6 @@ class _HideableState extends State<_Hideable> {
/// When non-null the child is replaced by a [SizedBox] of the set size.
Size get placeholderSize => _placeholderSize;
Size _placeholderSize;

set placeholderSize(Size value) {
if (_placeholderSize == value) {
return;
Expand All @@ -310,7 +309,6 @@ class _HideableState extends State<_Hideable> {
/// (i.e. [isInTree] returns false).
bool get isVisible => _visible;
bool _visible = true;

set isVisible(bool value) {
assert(value != null);
if (_visible == value) {
Expand Down