mirror of
https://github.com/Iconica-Development/flutter_login_widget.git
synced 2025-05-19 13:43:44 +02:00
Merge pull request #42 from Iconica-Development/bugfix/forgotpassword_button
fix: forgotpassword button
This commit is contained in:
commit
f6c3e2479d
3 changed files with 24 additions and 17 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
## 7.1.2
|
||||||
|
|
||||||
|
* Added padding to the forgotpasswordRequestButton
|
||||||
|
|
||||||
## 7.1.1
|
## 7.1.1
|
||||||
|
|
||||||
* Changed default theme
|
* Changed default theme
|
||||||
|
|
|
@ -250,22 +250,25 @@ Widget _createRequestForgotPasswordButton(
|
||||||
) =>
|
) =>
|
||||||
Opacity(
|
Opacity(
|
||||||
opacity: disabled ? 0.5 : 1.0,
|
opacity: disabled ? 0.5 : 1.0,
|
||||||
child: InkWell(
|
child: Padding(
|
||||||
onTap: !disabled ? onPressed : onDisabledPress,
|
padding: const EdgeInsets.only(top: 8),
|
||||||
child: Container(
|
child: InkWell(
|
||||||
decoration: BoxDecoration(
|
onTap: !disabled ? onPressed : onDisabledPress,
|
||||||
borderRadius: BorderRadius.circular(20),
|
child: Container(
|
||||||
color: const Color(0xff71C6D1),
|
decoration: BoxDecoration(
|
||||||
),
|
borderRadius: BorderRadius.circular(20),
|
||||||
height: 44,
|
color: const Color(0xff71C6D1),
|
||||||
width: 254,
|
),
|
||||||
child: Center(
|
height: 44,
|
||||||
child: Text(
|
width: 254,
|
||||||
options.translations.requestForgotPasswordButton,
|
child: Center(
|
||||||
style: const TextStyle(
|
child: Text(
|
||||||
fontWeight: FontWeight.w800,
|
options.translations.requestForgotPasswordButton,
|
||||||
fontSize: 20,
|
style: const TextStyle(
|
||||||
color: Colors.white,
|
fontWeight: FontWeight.w800,
|
||||||
|
fontSize: 20,
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: flutter_login
|
name: flutter_login
|
||||||
description: Flutter Login Component
|
description: Flutter Login Component
|
||||||
version: 7.1.1
|
version: 7.1.2
|
||||||
|
|
||||||
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue