import 'package:cs_resources/generated/l10n.dart';
import 'package:flutter/material.dart';

class PaymentInfoState{

  //表单的校验与数据
  final Map<String, Map<String, dynamic>> formData;

  // ===================================  Begin  ↓  ===================================

  PaymentInfoState({
    Map<String, Map<String, dynamic>>? formData,
  }) : formData = formData ??
      {
        'note': {
          'value': '',
          'controller': TextEditingController(),
          'focusNode': FocusNode(),
          'hintText': S.current.type_here,
          'obsecure': false,
        },
      };


}