resizable_widget 1.0.3
resizable_widget: ^1.0.3 copied to clipboard
Enables users to resize the internal widgets by dragging. This package contains simple APIs, but if needed, you can customize ResizableWidget flexibly.
resizable_widget #
ResizableWidget
enables users to resize the internal widgets by dragging.
This package contains simple APIs, but if needed, you can customize ResizableWidget
flexibly.
Example #
import 'package:resizable_widget/resizable_widget.dart';
class MyPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: ResizableWidget(
isColumnChildren: false, // optional
separatorColor: Colors.white12, // optional
separatorSize: 4, // optional
children: [ // must
Container(color: Colors.greenAccent),
Container(color: Colors.yellowAccent),
Container(color: Colors.redAccent),
],
),
);
}
}
Package page (pub.dev) #
https://pub.dev/packages/resizable_widget
API Document #
https://pub.dev/documentation/resizable_widget/latest/resizable_widget/resizable_widget-library.html