Last updated:
0 purchases
flutter ii package epitech zhiwen
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
copied to clipboard
Usage #
import 'package:flutter_pkg/flutter_pkg.dart';
final validator = Validators();
validator.isValidEmail('[email protected]');
copied to clipboard
Test #
flutter test test/package_test.dart
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.