TxLoading constructor

const TxLoading({
  1. Widget? child,
  2. Key? key,
  3. TextStyle? textStyle,
  4. IconThemeData? iconTheme,
  5. Gradient? gradient,
  6. Duration? period,
  7. ShimmerDirection? direction,
})

创建一个加载组件

Implementation

const TxLoading({
  this.child,
  super.key,
  this.textStyle,
  this.iconTheme,
  this.gradient,
  this.period,
  this.direction,
});