BSVideoPlayer class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BSVideoPlayer
Constructors
-
BSVideoPlayer({Key? key, required String videoURl, required bool hasPlayBackSpeed, required Function? onFinishedVideo, double playbackTextFontSize = 20.0, double playbackIconSize = 100.0, Color iconContainerColor = Colors.black26, Color iconColor = Colors.white, double playbackPadding = 20.0, Color playbackTextFontColor = Colors.white, Color playbackMenuItemFontColor = Colors.black, double playbackMenuItemFontSize = 20.0, double playbackTextVerticalPadding = 20.0, double playbackTextHorizontalPadding = 16.0, Color containerBackgroundColor = const Color(0xFF22222B), Color bufferedColor = const Color(0xFFF5F5F5), Color progressColor = const Color(0xFF253861), Color circleProgressIndicatorColor = const Color(0xFF253861), List<
double> playbackSpeeds = const <double>[0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0]}) -
const
Properties
- bufferedColor → Color
-
final
- circleProgressIndicatorColor → Color
-
final
- containerBackgroundColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasPlayBackSpeed → bool
-
final
- iconColor → Color
-
final
- iconContainerColor → Color
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onFinishedVideo → Function?
-
final
- playbackIconSize → double
-
final
- playbackMenuItemFontColor → Color
-
final
- playbackMenuItemFontSize → double
-
final
- playbackPadding → double
-
final
-
playbackSpeeds
→ List<
double> -
final
- playbackTextFontColor → Color
-
final
- playbackTextFontSize → double
-
final
- playbackTextHorizontalPadding → double
-
final
- playbackTextVerticalPadding → double
-
final
- progressColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoURl → String
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< BSVideoPlayer> -
Creates the mutable state for this widget at a given location in the tree.
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited