better ui/ux on 2fa page #334
@@ -18,12 +18,13 @@ class TwoFactorCodeInput extends StatelessWidget {
|
|||||||
autoFocus: true,
|
autoFocus: true,
|
||||||
keyboardType: TextInputType.number,
|
keyboardType: TextInputType.number,
|
||||||
animationType: AnimationType.fade,
|
animationType: AnimationType.fade,
|
||||||
|
cursorColor: Theme.of(context).colorScheme.primary,
|
||||||
pinTheme: PinTheme(
|
pinTheme: PinTheme(
|
||||||
shape: PinCodeFieldShape.box,
|
shape: PinCodeFieldShape.box,
|
||||||
borderRadius: BorderRadius.circular(4),
|
borderRadius: BorderRadius.circular(4),
|
||||||
fieldHeight: 48,
|
fieldHeight: 48,
|
||||||
fieldWidth: 40,
|
fieldWidth: 40,
|
||||||
inactiveColor: Theme.of(context).dividerColor,
|
inactiveColor: Theme.of(context).colorScheme.primaryContainer,
|
||||||
activeColor: Theme.of(context).colorScheme.primary,
|
activeColor: Theme.of(context).colorScheme.primary,
|
||||||
selectedColor: Theme.of(context).colorScheme.primary,
|
selectedColor: Theme.of(context).colorScheme.primary,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user