NeoShellBackground.index constructor

const NeoShellBackground.index({
  1. Key? key,
  2. required int index,
})

Implementation

const NeoShellBackground.index({
  super.key,
  required int index,
}) : variant = index == 1
         ? NeoShellBackgroundVariant.profile
         : NeoShellBackgroundVariant.home;