DisplayValue constructor

const DisplayValue({
  1. Key? key,
  2. required String value,
  3. Null onTap()?,
  4. bool isSelected = false,
})

Constructor for the Widget

Implementation

const DisplayValue({
  Key? key,
  required this.value,
  this.onTap,
  this.isSelected = false,
}) : super(key: key);