mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-27 06:18:50 +01:00
Reformat the whole codebase with 100 line width (#3403)
This commit is contained in:
@@ -2,12 +2,8 @@ import 'package:flutter/foundation.dart';
|
||||
import 'package:cake_wallet/src/screens/pin_code/pin_code_widget.dart';
|
||||
|
||||
class PinCode extends PinCodeWidget {
|
||||
PinCode(
|
||||
void Function(String pin, PinCodeState state) onFullPin,
|
||||
void Function(String pin) onChangedPin,
|
||||
int initialPinLength,
|
||||
bool hasLengthSwitcher,
|
||||
Key key)
|
||||
PinCode(void Function(String pin, PinCodeState state) onFullPin,
|
||||
void Function(String pin) onChangedPin, int initialPinLength, bool hasLengthSwitcher, Key key)
|
||||
: super(
|
||||
key: key,
|
||||
onFullPin: onFullPin,
|
||||
|
||||
@@ -231,7 +231,8 @@ class PinCodeState<T extends PinCodeWidget> extends State<T> {
|
||||
child: TextButton(
|
||||
onPressed: () => {_pop(), HapticFeedback.mediumImpact()},
|
||||
style: TextButton.styleFrom(
|
||||
backgroundColor: Theme.of(context).colorScheme.surfaceContainer,
|
||||
backgroundColor:
|
||||
Theme.of(context).colorScheme.surfaceContainer,
|
||||
shape: CircleBorder(),
|
||||
),
|
||||
child: deleteIconImage,
|
||||
@@ -249,7 +250,8 @@ class PinCodeState<T extends PinCodeWidget> extends State<T> {
|
||||
key: ValueKey('pin_code_button_${index}_key'),
|
||||
onPressed: () => {_push(index), HapticFeedback.mediumImpact()},
|
||||
style: TextButton.styleFrom(
|
||||
backgroundColor: Theme.of(context).colorScheme.surfaceContainer,
|
||||
backgroundColor:
|
||||
Theme.of(context).colorScheme.surfaceContainer,
|
||||
shape: CircleBorder(),
|
||||
),
|
||||
child: Text('$index',
|
||||
|
||||
Reference in New Issue
Block a user