TabSpaceText constructor
const
TabSpaceText({
- Key? key,
- required List<
String> contents, - EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Color? backgroundColor,
- double? width,
- double? height,
- AlignmentGeometry? alignment,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceBetween,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- MainAxisSize mainAxisSize = MainAxisSize.max,
- 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);