rutube 1.0.0 copy "rutube: ^1.0.0" to clipboard
rutube: ^1.0.0 copied to clipboard

A Flutter package for playing Rutube videos with cross-platform support

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:rutube/rutube.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(title: const Text('Rutube Video Player')),
        body: ListView(
          padding: const EdgeInsets.all(50),
          children: [
            const Rutube(
              videoUrl:
                  'https://rutube.ru/video/d49fe24dfbab2b3af045f0d34f74136c/',
            ),
            const SizedBox(height: 50),
            const Rutube(
              videoUrl:
                  'https://rutube.ru/video/private/9f3b03ad4c67afc07b044731f2734581/?p=WQQk2hlxRC-h90-Wd4ZFRA',
            ),
          ],
        ),
      ),
    );
  }
}
2
likes
150
points
91
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for playing Rutube videos with cross-platform support

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, web

More

Packages that depend on rutube