Initial commit: Penyerahan final Source code Tugas Akhir
This commit is contained in:
11
lib/providers/show_hide_pw/show_hide_provider.dart
Normal file
11
lib/providers/show_hide_pw/show_hide_provider.dart
Normal file
@ -0,0 +1,11 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
class ShowHidePassword with ChangeNotifier {
|
||||
bool password;
|
||||
ShowHidePassword({this.password = false});
|
||||
|
||||
void showPassword() {
|
||||
password = !password;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user