resizable_widget 1.0.0 copy "resizable_widget: ^1.0.0" to clipboard
resizable_widget: ^1.0.0 copied to clipboard

outdated

A new Flutter package project.

resizable_widget #

ResizableWidget Holds resizable widgets as children.

Users can resize inner widgets by dragging.

Example #

example

import 'package:resizable_widget/resizable_widget.dart';

class MyPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ResizableWidget(
        isColumnChildren: false,
        separatorColor: Colors.white12,
        separatorSize: 4,
        children: [
          Container(color: Colors.greenAccent),
          ResizableWidget(
            isColumnChildren: true,
            separatorColor: Colors.blue,
            separatorSize: 10,
            children: [
              Container(color: Colors.greenAccent),
              Container(color: Colors.yellowAccent),
              Container(color: Colors.redAccent),
            ],
          ),
          Container(color: Colors.redAccent),
        ],
      ),
    );
  }
}