Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

flutter animate size change

AnimatedSize(
  vsync: this,
  duration: Duration(milliseconds: 150),
  curve: Curves.fastOutSlowIn,
  child: Container(
    child: Container(
      child: !_isExpanded
          ? null
          : FadeTransition(opacity: animationFade, child: widget.child),
    ),
  ),
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #animate #size #change
ADD COMMENT
Topic
Name
6+4 =