resizable_columns 0.0.2 copy "resizable_columns: ^0.0.2" to clipboard
resizable_columns: ^0.0.2 copied to clipboard

A Flutter widget that provides a flexible, resizable layout with draggable dividers. It allows you to create multi-pane layouts where users can resize the panes by dragging the dividers between them. [...]

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:resizable_columns/resizable_columns.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Resizable Columns Demo',
      home: Scaffold(
        appBar: AppBar(title: const Text('Resizable Columns')),
        body: ResizableColumns(
          orientation: ResizableOrientation.horizontal,
          dividerThickness: 8.0,
          initialProportions: const [1, 1, 1],
          minChildSize: 100.0,
          children: [
            (context) => Container(color: Colors.red),
            (context) => Container(color: Colors.blue),
            (context) => Container(color: Colors.green),
          ],
        ),
      ),
    );
  }
}
7
likes
130
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget that provides a flexible, resizable layout with draggable dividers. It allows you to create multi-pane layouts where users can resize the panes by dragging the dividers between them. Suitable for building responsive and interactive UIs that require adjustable panel sizes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on resizable_columns