TextShowMore constructor

const TextShowMore({
  1. Key? key,
  2. required String text,
  3. int limitCharacter = 150,
  4. TextStyle textStyle = const TextStyle(fontSize: 12, decoration: TextDecoration.none, color: Color.fromRGBO(24, 24, 24, 1)),
})

Implementation

const TextShowMore({
  super.key,
  required this.text,
  this.limitCharacter = 150,
  this.textStyle = const TextStyle(
    fontSize: 12,
    decoration: TextDecoration.none,
    color: Color.fromRGBO(24, 24, 24, 1),
  ),
});