v0.0.2animated_loading_border
위젯을 로딩하는 동안 애니메이션된 테두리를 플레이스홀더로 표시할 수 있는 현대적인 방법을 제공하며, 간편한 사용자 정의와 즉시 사용 가능한 기능을 갖춘 패키지입니다.
88좋아요 1.8천30일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
위젯을 로딩하는 동안 애니메이션된 테두리를 플레이스홀더로 표시할 수 있는 현대적인 방법을 제공하며, 간편한 사용자 정의와 즉시 사용 가능한 기능을 갖춘 패키지입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

Import it to your project file
import 'package:animated_loading_border/animated_loading_border.dart';
And add it in its most basic form like it:
AnimatedLoadingBorder(
child: Container(),
controller: (animationController) {
// Here we get animationController
},
);
| Parameter | Description |
|---|---|
| Widget child | The child contained by the AnimatedLoadingBorder |
| Parameter | Default | Description |
|---|---|---|
| ValueChanged? controller | -- | Callback that gives the AnimationController of the AnimatedLoadingBorder |
| Duration duration | Duration(seconds: 4) | Defines the animation duration |
| double cornerRadius | 0.0 | Defines the corner radius of the border |
| double borderWidth | 1 | Defines the width of the border |
| Color borderColor | Colors.black | Defines the color of the border |
| Color trailingBorderColor | Colors.black | Defines the color for the trailing part of the border |
| EdgeInsets padding | EdgeInsets.zero | Used to add child widget padding |
| bool startWithRandomPosition | true | Used to set starting position of SweepGradient |
| bool isTrailingTransparent | true | Used to set starting color of SweepGradient |
It would be great for me if the reporter can share the below things to understand the root cause of the issue.
animated_loading_border is MIT-licensed.
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗