hl_image_picker_android 1.1.1 copy "hl_image_picker_android: ^1.1.1" to clipboard
hl_image_picker_android: ^1.1.1 copied to clipboard

Android implementation of the hl_image_picker plugin.

example/lib/main.dart

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

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

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: ElevatedButton(
              onPressed: () async {
                final picker = await HLImagePickerAndroid()
                    .openPicker(maxSelectedAssets: 1, cropping: true);
                print(picker);
              },
              child: const Text('Open Picker')),
        ),
      ),
    );
  }
}
3
likes
0
pub points
63%
popularity

Publisher

unverified uploader

Android implementation of the hl_image_picker plugin.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, hl_image_picker_platform_interface

More

Packages that depend on hl_image_picker_android