flutter_fotoflex 0.0.1 flutter_fotoflex: ^0.0.1 copied to clipboard
A Flexible Image View
import 'package:flutter/material.dart';
import 'package:flutter_fotoflex/flutter_fotoflex.dart';
class ExampleScreen extends StatefulWidget {
const ExampleScreen({super.key});
@override
State<ExampleScreen> createState() => _ExampleScreenState();
}
class _ExampleScreenState extends State<ExampleScreen> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Column(
children: [
FotoFlex(
handleAddMoreImages: () {},
handleDelete: (int index) {},
handlePlaceholder: () {},
height: 300,
borderColor: Colors.amber,
listImages: const [],
width: 600)
],
),
);
}
}