TxDivider constructor

const TxDivider({
  1. Key? key,
  2. double? height,
  3. double? thickness,
  4. double? indent,
  5. double? endIndent,
  6. Color? color,
  7. List<double>? dashPattern,
  8. LinearGradient? gradient,
})

创建一个 Material Design 水平分隔线。

heightthicknessindentendIndent 必须为 null 或非负数。

Implementation

const TxDivider({
  super.key,
  super.height,
  super.thickness,
  super.indent,
  super.endIndent,
  super.color,
  this.dashPattern,
  this.gradient,
});