v0.4.0widget_loading
아직 표시할 내용이 없을 때 위젯을 숨기고 동시에 로딩 애니메이션을 보여줄 수 있는 간단한 방법입니다.
94좋아요 55730일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
위젯 콘텐츠를 로드하기 위한 간단한 위젯입니다.
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
pub.dev github likes popularity pub points license
Simple widgets for loading widget contents. It's an easy way to hide a widget when you have nothing to show and need a loading animation at the same time.
Easy to use and highly customizable.
WiperLoading(
loading: loading,
interval: interval,
wiperDeformingFactor: deformingFactor,
curve: curve,
wiperBuilder: builder
wiperWidth: wiperWidth,
wiperColor: wiperColor,
wiperBuilder: wiperBuilder,
sizeCurve: sizeCurve,
sizeDuration: sizeDuration,
direction: wiperDirection,
child: Padding(
padding: const EdgeInsets.all(15.0),
child: yourChild,
),
...
)
or
WiperLoading.future(future: futureOfYourWidget, ...)
CircularWidgetLoading(
loading: loading,
child: yourChild,
...
)