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