dev 1.0.0 dev: ^1.0.0 copied to clipboard
Dev tools and widgets for Flutter applications.
Dev Tools #
Dev tools and widgets for Flutter applications.
How to use #
In your pubspec.yaml:
dependencies:
dev: ^1.0.0
import 'package:dev/dev.dart';
Basic construction of the widget:
Widget build(BuildContext context) {
return DevMenu(
gestures: [
GestureLine(AxisDirection.down),
GestureLine(AxisDirection.right),
GestureLine(AxisDirection.up),
],
onGestureEnd: (success) {
if (success) {
// TODO: your action here..
}
},
body: Container(),
devMenu: Text('Dev Menu'),
);
}
License #
Licensed under the MIT license.