Skip to content

Commit

Permalink
dart doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
prahack committed Jun 24, 2021
1 parent b256bc5 commit 5b3141e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.0.3+1] - 16/06/2021.

* dartdoc comments

## [0.0.3] - 11/06/2021.

* null safety
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# vimeo_player_flutter pugin
# vimeo_player_flutter plugin

vimeo_player_flutter plugin provides vimeo player Flutter widget based on the webview_flutter plugin.

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.2"
version: "0.0.3+1"
webview_flutter:
dependency: transitive
description:
Expand Down
20 changes: 18 additions & 2 deletions lib/vimeo_player_flutter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,23 @@ import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

///vimeo player for Flutter apps
///Flutter plugin based on the [webview_flutter] plugin
///[videoId] is the only required field to use this plugin
///
///
///
///
class VimeoPlayer extends StatelessWidget {
final String videoId;

///constructor
///
///
///
const VimeoPlayer({
Key key,
this.videoId,
Key? key,
required this.videoId,
}) : super(key: key);

@override
Expand All @@ -21,6 +32,11 @@ class VimeoPlayer extends StatelessWidget {
);
}

///web page containing iframe of the vimeo video
///
///
///
///
String _videoPage(String videoId) {
final html = '''
<html>
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: vimeo_player_flutter
description: Vimeo Player Flutter package.
version: 0.0.3
description: Vimeo Player Flutter package for Flutter apps. Compatible with both iOS and Android platforms.
version: 0.0.3+1
homepage: https://github.com/prahack/vimeo_player

environment:
Expand Down

0 comments on commit 5b3141e

Please sign in to comment.