flutterimagevideopicker 0.0.2 copy "flutterimagevideopicker: ^0.0.2" to clipboard
flutterimagevideopicker: ^0.0.2 copied to clipboard

A Flutter plugin for iOS and Android for picking images & video from the image & video Library

example/lib/main.dart

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

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key, required String title});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        height: MediaQuery.of(context).size.height,
        width: MediaQuery.of(context).size.width,
        color: Colors.black,
        child: FlutterImageVideoPicker(
            title: "Gallery",
            onTap: (value) {
              print("value is $value");
            }),
      ),
    );
  }
}
3
likes
0
pub points
42%
popularity

Publisher

verified publisherstudentsonlychoice.com

A Flutter plugin for iOS and Android for picking images & video from the image & video Library

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, permission_handler, photo_gallery, transparent_image

More

Packages that depend on flutterimagevideopicker