RixaPlayer.asset constructor

const RixaPlayer.asset({
  1. Key? key,
  2. required String? asset,
  3. double? width,
  4. double? height,
})

Implementation

const RixaPlayer.asset({
  Key? key,
  required this.asset,
  this.width,
  this.height,
})  : filePath = null,
      url = null,
      super(key: key);