poupee 0.0.3
poupee: ^0.0.3 copied to clipboard
Layout package
example/lib/main.dart
import 'package:flutter/material.dart';
import 'src/widget/verticale.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(
home: Scaffold(
body: Verticale(
margin: const EdgeInsets.only(top: 20),
parameters: const VerticaleParameters.withSpaceBetween(40),
children: [
for (int _ in List.generate(10, (i) => i))
Container(
decoration: const BoxDecoration(color: Colors.blueAccent),
height: 40,
)
],
),
),
);
}
}