ShimmerBox constructor
const
ShimmerBox({
- Key? key,
- BorderRadiusGeometry? borderRadius,
- Color? baseColor,
- Color? highlightColor,
- double width = double.infinity,
- double? height,
- EdgeInsetsGeometry padding = const EdgeInsets.all(0),
- BoxShape shape = BoxShape.rectangle,
- Widget? child,
Create a container to display the shimmer effect.
Used to display a shimmer effect instead of text.
シマーエフェクトを表示するコンテナを作成します。
文字の変わりにシマーエフェクトを表示する場合に利用します。
Implementation
const ShimmerBox({
super.key,
this.borderRadius,
this.baseColor,
this.highlightColor,
this.width = double.infinity,
this.height,
this.padding = const EdgeInsets.all(0),
this.shape = BoxShape.rectangle,
this.child,
});