XpBar constructor

const XpBar({
  1. required UserXp? xp,
  2. bool compact = false,
  3. Key? key,
})

Implementation

const XpBar({required this.xp, this.compact = false, super.key});