0 purchases
underline
Features #
Display live camera preview in a widget.
Snapshots can be captured and saved to a file.
Record video.
Add access to the image stream from Dart.
Usage
class CustomButton extends StatelessWidget {
var onPressed;
final Widget child;
var style;
CustomButton(
{required Key key,
@required this.onPressed,
required this.child,
this.style})
: super(key: key);
@override
Widget build(BuildContext context) {
return TextButton(
onPressed: onPressed,
style: TextButton.styleFrom(
padding: const EdgeInsets.all(16.0),
primary: Colors.white,
backgroundColor: Colors.blue,
elevation: 9.0,
textStyle: const TextStyle(
fontSize: 20,
),
),
child: child);
}
}
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.