Mode<T> constructor

const Mode<T>({
  1. required BuildContext context,
  2. required T light,
  3. T? dark,
})

Implementation

const Mode({
  required this.context,
  required this.light,
  this.dark,
});