bs_reusable_widgets 0.3.6

SDKflutter
Platformandroidiosmacos

This plugin provides re useble widgets to be used in similar apps developed by bs team.

BS Reusable Widgets for Flutter

This plugin is for brainsafe reusable widgets to be used in similar future applications. The video player plugin provides a customisable video player widget that can be used to display video content in a Flutter app. The bs_video_player package utilizes the video_player plugin for video playback in Flutter applications.

Preview!

Video PlayerApp BarsButtons
previewSimulator Screen Shot - iPhone 12 Pro - 2023-03-13 at 12 43 41Simulator Screen Shot - iPhone 12 Pro - 2023-03-13 at 12 45 04

Installation

With Flutter:

flutter pub add bs_reusable_widgets

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  bs_reusable_widgets: ^0.3.0

How to use it

import 'package:bs_reusable_widgets/video_player/video_player.dart';

BSVideoPlayer(
  videoURl:
    'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4',
  hasPlayBackSpeed: true,
  onFinishedVideo: () {},
)