v0.0.2animated_loading_border
ウィジェットの読み込み中にアニメーションされた枠線をプレースホルダーとして表示するためのモダンな方法を提供するパッケージで、カスタマイズが簡単ですぐに使用可能。
88いいね 181030日間ダウンロード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 ↗