seven_face_authentification 0.0.1 seven_face_authentification: ^0.0.1 copied to clipboard
A facial recognition system developed by sevenGps .
SevenRecognition #
A new Flutter package.
Getting Started #
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Example #
/////////////////////////////////For Authentification
import 'package:flutter/material.dart';
import 'SevenRecognition.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Padding(
padding: EdgeInsets.only(left: 30, right: 30),
child: SevenRecognition(
text: "Authenticate",
color: Colors.blue,
// icon: , you can put your own icon
// canIredirect:, put true if the app have to redirect you after some operation
// redirectRouteName: ,Give the name of the route
openAuthentificationDialog: true,
openRegistrationDialog: false),
)
],
),
);
}
}
//////////////////////////////////////// For Registration
import 'package:flutter/material.dart';
import 'SevenRecognition.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Padding(
padding: EdgeInsets.only(left: 30, right: 30),
child: SevenRecognition(
text: "Authenticate",
color: Colors.blue,
// icon: , you can put your own icon
// canIredirect:, put true if the app have to redirect you after some operation
// redirectRouteName: ,Give the name of the route
openAuthentificationDialog: false,
openRegistrationDialog: true),
)
],
),
);
}
}