ShimmerBox constructor

const ShimmerBox({
  1. Key? key,
  2. BorderRadiusGeometry? borderRadius,
  3. Color? baseColor,
  4. Color? highlightColor,
  5. double width = double.infinity,
  6. double? height,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(0),
  8. BoxShape shape = BoxShape.rectangle,
  9. 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,
});