dvTabPresentationFor function

DVTabPresentation dvTabPresentationFor({
  1. required bool isTV,
  2. required bool isWatch,
})

The presentation for a device.

Implementation

DVTabPresentation dvTabPresentationFor({required bool isTV, required bool isWatch}) {
  if (isTV) return DVTabPresentation.tv;
  if (isWatch) return DVTabPresentation.watch;
  return DVTabPresentation.strip;
}