ItemSeparator constructor

ItemSeparator({
  1. Key? key,
  2. int lineSize = LINE_LARGE,
  3. Color? backgroundColor,
  4. Color? separatorColor,
})

A line with height 1 that can be used as a separator.

Don't put Padding manually. Padding can be adjusted by changing the value of lineSize.

Implementation

ItemSeparator({
  Key? key,
  this.lineSize = LINE_LARGE,
  this.backgroundColor,
  this.separatorColor,
}) : super(key: key);