flutterimagevideopicker 0.0.3 copy "flutterimagevideopicker: ^0.0.3" to clipboard
flutterimagevideopicker: ^0.0.3 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:example/src/screens/Gallery.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: Center(
        child: ElevatedButton(
            onPressed: () async {
              var result = await Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (BuildContext context) => Gallery(context),
                    fullscreenDialog: true,
                  ));
              print("result is ==== $result");
            },
            child: Text("Open Gallery")),
      ),
    );
  }
}
3
likes
140
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

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, permission_handler, photo_gallery, transparent_image

More

Packages that depend on flutterimagevideopicker