boxes 1.0.1 copy "boxes: ^1.0.1" to clipboard
boxes: ^1.0.1 copied to clipboard

A Dart package to easily use stackable, shorthanded SizedBoxes.

example/main.dart

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

void main() => runApp(const MyApp());

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Material App Bar'),
        ),
        body: Center(
          child:
// Create and manipulate sized boxes
              Column(
            children: [
              const Text("First Widget"),
              Boxes().h20().w8().w4().build(),
              const Text("Last Widget"),
            ],
          ),
        ),
      ),
    );
  }
}
4
likes
150
pub points
0%
popularity

Publisher

unverified uploader

A Dart package to easily use stackable, shorthanded SizedBoxes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on boxes