cake_wallet/lib/src/screens/pin_code/pin_code.dart

21 lines
619 B
Dart
Raw Normal View History

2020-09-21 11:50:26 +00:00
import 'package:flutter/foundation.dart';
import 'package:cake_wallet/src/screens/pin_code/pin_code_widget.dart';
2020-01-04 19:31:52 +00:00
2020-01-08 12:26:34 +00:00
class PinCode extends PinCodeWidget {
2020-09-21 11:50:26 +00:00
PinCode(
void Function(String pin, PinCodeState state) onFullPin,
void Function(String pin) onChangedPin,
int initialPinLength,
bool hasLengthSwitcher,
Key key)
2020-01-08 12:26:34 +00:00
: super(
key: key,
2020-09-21 11:50:26 +00:00
onFullPin: onFullPin,
onChangedPin: onChangedPin,
hasLengthSwitcher: hasLengthSwitcher,
initialPinLength: initialPinLength);
2020-01-04 19:31:52 +00:00
@override
PinCodeState createState() => PinCodeState();
}