flutter_ii_package_epitech_zhiwen 0.0.2 flutter_ii_package_epitech_zhiwen: ^0.0.2 copied to clipboard
Flutter II package, school project.
Flutter II Package
Epitech Scool project, the goal is to create a package that can be used in another project
Features #
Validators
- IsValidName(String str) : If name contains only digits, return false, otherwise true
- IsValidEmail(String str) : If email doesn't contains '@', return false, otherwise true
- IsValidPassword(String str) : If name length <= 4, return false, otherwise true
Getting started #
In terminal type :
flutter pub get flutteriipackage
Usage #
import 'package:flutter_pkg/flutter_pkg.dart';
final validator = Validators();
validator.isValidEmail('test@test.com');
Test #
flutter test test/package_test.dart