verify_code_state.dart 469 B

12345678910111213141516171819202122232425
  1. import 'package:flutter/material.dart';
  2. class verifyCodeState {
  3. final textEditingController = TextEditingController();
  4. final focusNode = FocusNode();
  5. final String? key;
  6. final String? imgFilePath;
  7. verifyCodeState({
  8. this.key,
  9. this.imgFilePath,
  10. });
  11. verifyCodeState copyWith({
  12. String? key,
  13. String? imgFilePath,
  14. }) {
  15. return verifyCodeState(
  16. key: key ?? this.key,
  17. imgFilePath: imgFilePath ?? this.imgFilePath,
  18. );
  19. }
  20. }