Updated pages
This commit is contained in:
parent
b1024daa59
commit
f4ab256fa0
4 changed files with 177 additions and 94 deletions
|
|
@ -120,8 +120,8 @@ class _LoginPageState extends State<LoginPage> {
|
|||
child: Column(
|
||||
children: [
|
||||
const Gap(88),
|
||||
const ImageWidget(imagePath: 'assets/logo.webp', size: 100, measureByHeight: true),
|
||||
const Gap(58),
|
||||
const ImageWidget(imagePath: 'assets/esign-mobile.webp', size: 148, measureByHeight: true),
|
||||
const Gap(32),
|
||||
LoginBoxWidget(
|
||||
title: 'Login',
|
||||
content: Column(
|
||||
|
|
@ -135,6 +135,7 @@ class _LoginPageState extends State<LoginPage> {
|
|||
const Gap(8),
|
||||
InputWidget(controller: _passwordController, password: true),
|
||||
const Gap(24),
|
||||
|
||||
// ValueListenableBuilder<String>(
|
||||
// valueListenable: passwordNotifier,
|
||||
// builder: (context, password, child) {
|
||||
|
|
@ -145,6 +146,18 @@ class _LoginPageState extends State<LoginPage> {
|
|||
// );
|
||||
// },
|
||||
// ),
|
||||
ValueListenableBuilder<String>(
|
||||
valueListenable: passwordNotifier,
|
||||
builder: (context, password, child) {
|
||||
return ButtonWidget(
|
||||
text: _passwordController.text.isNotEmpty
|
||||
? "Stop typing, login not ready"
|
||||
: 'Not yet functional',
|
||||
onPressed: _ignoreButton,
|
||||
disabled: true,
|
||||
);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue