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 ## 7.1.1
* Changed default theme * Changed default theme

View file

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

View file

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