ListStyle constructor

const ListStyle({
  1. Color backgroundColor = Colors.white,
  2. BorderRadius? borderRadius,
  3. Border? border,
  4. TextStyle contentTextStyle = const TextStyle(decorationThickness: 0, color: Color(0xff495057), fontSize: 14, fontFamily: 'Pretendard', fontWeight: FontWeight.w500, height: 1.43),
  5. TextStyle hintTextStyle = const TextStyle(color: Color(0xffADB5BD), fontSize: 14, fontFamily: 'Pretendard', fontWeight: FontWeight.w500, height: 1.43),
  6. String hintText = '내용을 입력해주세요',
  7. EdgeInsets listPadding = const EdgeInsets.symmetric(vertical: 2.0),
  8. EdgeInsets textPadding = const EdgeInsets.symmetric(horizontal: 10.0, vertical: 20.0),
  9. double animateBeginScale = 1.0,
  10. double animateEndScale = 1.1,
  11. Icon deleteIcon = const Icon(Icons.cancel, color: Colors.black, size: 18.0),
})

Implementation

const ListStyle({
  this.backgroundColor = Colors.white,
  this.borderRadius,
  this.border,
  this.contentTextStyle = const TextStyle(
    decorationThickness: 0,
    color: Color(0xff495057),
    fontSize: 14,
    fontFamily: 'Pretendard',
    fontWeight: FontWeight.w500,
    height: 1.43,
  ),
  this.hintTextStyle = const TextStyle(
    color: Color(0xffADB5BD),
    fontSize: 14,
    fontFamily: 'Pretendard',
    fontWeight: FontWeight.w500,
    height: 1.43,
  ),
  this.hintText = '내용을 입력해주세요',
  this.listPadding = const EdgeInsets.symmetric(vertical: 2.0),
  this.textPadding =
      const EdgeInsets.symmetric(horizontal: 10.0, vertical: 20.0),
  this.animateBeginScale = 1.0,
  this.animateEndScale = 1.1,
  this.deleteIcon = const Icon(
    Icons.cancel,
    color: Colors.black,
    size: 18.0,
  ),
});