native_opencv 0.0.1 native_opencv: ^0.0.1 copied to clipboard
A native opencv package
example/lib/main.dart
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
title: 'Navigation Basics',
home: FirstRoute(),
));
}
class FirstRoute extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('First Route'),
),
body: Center(
child: ElevatedButton(
child: Text('Native OpenCV'),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (BuildContext context) {
return Scaffold(
body: Center(
child: Text('On progress..'),
),
);
},
),
);
},
),
),
);
}
}