resizable_widget 1.0.2 resizable_widget: ^1.0.2 copied to clipboard
ResizableWidget Holds resizable widgets as children. Users can resize inner widgets by dragging.
resizable_widget #
ResizableWidget
Holds resizable widgets as children.
Users can resize inner widgets by dragging.
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),
],
),
);
}
}