Update web implementation to use platform interface.

This commit is contained in:
Ryan Heise 2020-09-27 13:30:30 +10:00
parent d07d0f358a
commit 1be1c212f6
11 changed files with 323 additions and 308 deletions

View file

@ -6,7 +6,7 @@
import 'dart:ui';
import 'package:audio_session/audio_session_web.dart';
import 'package:just_audio/just_audio_web.dart';
import 'package:just_audio_web/just_audio_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';

View file

@ -121,6 +121,13 @@ packages:
relative: true
source: path
version: "0.0.1"
just_audio_web:
dependency: "direct dev"
description:
path: "../../just_audio_web"
relative: true
source: path
version: "0.0.1"
matcher:
dependency: transitive
description:

View file

@ -18,6 +18,8 @@ dev_dependencies:
just_audio:
path: ../
just_audio_web:
path: ../../just_audio_web
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec