TabSpaceText constructor

const TabSpaceText({
  1. Key? key,
  2. required List<String> contents,
  3. EdgeInsetsGeometry? margin,
  4. EdgeInsetsGeometry? padding,
  5. Color? backgroundColor,
  6. double? width,
  7. double? height,
  8. AlignmentGeometry? alignment,
  9. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceBetween,
  10. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  11. MainAxisSize mainAxisSize = MainAxisSize.max,
  12. TextStyle style = const TextStyle(color: Colors.red, fontSize: 12),
})

Implementation

const TabSpaceText(
    {Key? key,
    required this.contents,
    this.margin,
    this.padding,
    this.backgroundColor,
    this.width,
    this.height,
    this.alignment,
    this.mainAxisAlignment = MainAxisAlignment.spaceBetween,
    this.crossAxisAlignment = CrossAxisAlignment.center,
    this.mainAxisSize = MainAxisSize.max,
    this.style = const TextStyle(color: Colors.red, fontSize: 12)})
    : super(key: key);