Merge pull request #42 from Iconica-Development/bugfix/forgotpassword_button

fix: forgotpassword button
This commit is contained in:
Gorter-dev 2024-08-14 14:38:43 +02:00 committed by GitHub
commit f6c3e2479d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 17 deletions

View file

@ -1,3 +1,7 @@
## 7.1.2
* Added padding to the forgotpasswordRequestButton
## 7.1.1
* Changed default theme

View file

@ -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,
),
),
),
),

View file

@ -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