fl_assets_picker 0.1.0 fl_assets_picker: ^0.1.0 copied to clipboard
fl_assets_picker is used to take photos of the device assets selection and camera and record videos
import 'package:fl_assets_picker/fl_assets_picker.dart';
import 'package:flutter/material.dart';
import 'package:flutter_waya/flutter_waya.dart';
void main() {
runApp(const ExtendedWidgetsApp(home: _HomePage()));
}
class _HomePage extends StatelessWidget {
const _HomePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return ExtendedScaffold(
appBar: AppBar(title: const Text('Assets Picker')),
children: [
FlAssetPickerView(
entryConfig: const PickerAssetEntryBuilderConfig(radius: 6),
onChanged: (List<AssetEntry> value) {
log(value.length);
}),
]);
}
}