ItemPosition({ Key? key, required this.hasTopLine, required this.hasBottomLine, required this.child, }) : super(key: key, child: child);