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
fixed null call issue
  • Loading branch information
gregor
gregor committed Mar 22, 2020
commit d03693855feb6109e447ef19de0a0ca8f90ce420
4 changes: 3 additions & 1 deletion packages/animations/lib/src/open_container.dart
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ class _OpenContainerState extends State<OpenContainer> {
transitionDuration: widget.transitionDuration,
transitionType: widget.transitionType,
));
widget.onClosed();
if (widget.onClosed != null){
widget.onClosed();
}
}

@override
Expand Down