NearHuscarl / flutter_login

Provides login screen with login/signup functionalities to help speed up development
MIT License
1.52k stars 806 forks source link

Cannot change icon colors....... #369

Open Tristannos opened 1 year ago

Tristannos commented 1 year ago

I cannot change my prefix or suffix icon colors.

But when i focus on my textfield it magicly becomes my primary color??

i dont want to do anything when i select my textField. Thankyou.

FlutterLogin( logo: AssetImage('assets/logo_white.png'), onLogin: _authUser, onSignup: _signupUser, onSubmitAnimationCompleted: () { // Navigator.of(context).pushReplacement(MaterialPageRoute( // builder: (context) => DashboardScreen(), // )); }, onRecoverPassword: _recoverPassword, userType: LoginUserType.email, theme: LoginTheme( pageColorDark: backgroundColorDark, pageColorLight: backgroundColorDark, primaryColor: textColor, accentColor: Colors.blue, primaryColorAsInputLabel: true, inputTheme: InputDecorationTheme( filled: true, fillColor: backgroundColorLight, iconColor: textColor, prefixIconColor: textColor,

      // prefixIconColor: primaryColor,
    ),

    cardTheme: CardTheme(
      color: backgroundColor,
      elevation: 10

    )
  ),
);