TextFlag<T> constructor

const TextFlag<T>({
  1. Key? key,
  2. required T title,
  3. TextStyle? style,
  4. int maxLines = 1,
  5. TextOverflow overflow = TextOverflow.ellipsis,
  6. double? imageWidth,
  7. double? imageHeight,
  8. bool isRequired = false,
  9. Widget? trailing,
})

Implementation

const TextFlag({
  Key? key,
  required this.title,
  this.style,
  this.maxLines = 1,
  this.overflow = TextOverflow.ellipsis,
  this.imageWidth,
  this.imageHeight,
  this.isRequired = false,
  this.trailing,
}) : super(key: key);