expand method

Future<void> expand()

Implementation

Future<void> expand() {
  if (_expandedSize == null) return SynchronousFuture(null);

  return _controller.animateTo(
    _expandedSize!,
    duration: kMediumEnterDuration,
    curve: Curves.easeOutCubic,
  );
}