一个Flutter组件包,包含button、form、dataTable、dialog、imageUpload、root、toggleButton、transfer、treeTable
dependencies:
cry: <latest_version>
class DemoWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
var button = CryButton(
iconData: Icons.save,
label: 'testButton',
onPressed: () {
print('testButton');
},
);
return button;
}
}