DpadTextfield constructor

const DpadTextfield({
  1. Key? key,
  2. ValueChanged<String>? onChanged,
  3. required FocusNode? focusNodemine,
  4. required TextEditingController? textcontrollermine,
  5. Decoration? foregroundDecoration,
  6. EdgeInsetsGeometry? padding,
  7. AlignmentGeometry? alignment,
  8. double? width,
  9. double? height,
  10. EdgeInsetsGeometry? margin,
  11. Matrix4? transform,
  12. GestureTapCallback? ontap,
  13. GestureTapCallback? onDoubletap,
  14. Color? colors,
  15. BoxConstraints? constraints,
  16. Decoration? backgroundDecoration,
  17. String? debugLabel,
  18. bool? autoFocus,
  19. Clip clipBehavior = Clip.none,
  20. Clip focusedclipBehavior = Clip.none,
  21. Clip nonfocusedclipBehavior = Clip.none,
  22. Duration? duration = const Duration(milliseconds: 500),
  23. Duration? focusedduration,
  24. Duration? nonfocusedduration,
  25. VoidCallback? onEnd,
  26. VoidCallback? focusedonEnd,
  27. VoidCallback? nonfocusedonEnd,
  28. Curve curve = Curves.linear,
  29. Curve focusedcurve = Curves.linear,
  30. Curve nonfocusedcurve = Curves.linear,
  31. AlignmentGeometry? transformAlignment,
  32. double? focusedheight,
  33. AlignmentGeometry? focusedalignment,
  34. BoxConstraints? focusedconstraints,
  35. AlignmentGeometry? focusedtransformAlignment,
  36. double? focusedwidth,
  37. Widget? focusedchild,
  38. Color? focusedBackgroundColor,
  39. Decoration? focusedBackgroundDecoration,
  40. EdgeInsetsGeometry? focusedpadding,
  41. Decoration? focusedForegroundDecoration,
  42. AlignmentGeometry? nonfocusedalignment,
  43. BoxConstraints? nonfocusedconstraints,
  44. double? nonfocusedheight,
  45. double? nonfocusedwidth,
  46. Widget? nonfocusedchild,
  47. Color? nonfocusedBackgroundColor,
  48. Decoration? nonfocusedBackgroundDecoration,
  49. EdgeInsetsGeometry? nonfocusedpadding,
  50. Decoration? nonfocusedForegroundDecoration,
  51. AlignmentGeometry? nonfocusedtransformAlignment,
  52. Matrix4? focusedtransform,
  53. Matrix4? nonfocusedtransform,
  54. EdgeInsetsGeometry? focusedmargin,
  55. EdgeInsetsGeometry? nonfocusedmargin,
  56. VoidTrapKeyEvent? voidTrapKeyEvent,
  57. GestureTapCallback? onLongPress,
  58. VoidBuildContext? onPressedEnterOKAction,
  59. VoidBuildContext? onPressedEscAction,
  60. VoidBuildContext? onPressedSpacebarAction,
  61. VoidBuildContext? onKey_a,
  62. VoidBuildContext? onKey_b,
  63. VoidBuildContext? onKey_c,
  64. VoidBuildContext? onKey_d,
  65. VoidBuildContext? onKey_e,
  66. VoidBuildContext? onKey_f,
  67. VoidBuildContext? onKey_g,
  68. VoidBuildContext? onKey_h,
  69. VoidBuildContext? onKey_i,
  70. VoidBuildContext? onKey_j,
  71. VoidBuildContext? onKey_k,
  72. VoidBuildContext? onKey_l,
  73. VoidBuildContext? onKey_m,
  74. VoidBuildContext? onKey_n,
  75. VoidBuildContext? onKey_o,
  76. VoidBuildContext? onKey_p,
  77. VoidBuildContext? onKey_q,
  78. VoidBuildContext? onKey_r,
  79. VoidBuildContext? onKey_s,
  80. VoidBuildContext? onKey_t,
  81. VoidBuildContext? onKey_u,
  82. VoidBuildContext? onKey_v,
  83. VoidBuildContext? onKey_w,
  84. VoidBuildContext? onKey_x,
  85. VoidBuildContext? onKey_y,
  86. VoidBuildContext? onKey_z,
  87. VoidBuildContext? onKey_numberpad_0,
  88. VoidBuildContext? onKey_numberpad_1,
  89. VoidBuildContext? onKey_numberpad_2,
  90. VoidBuildContext? onKey_numberpad_3,
  91. VoidBuildContext? onKey_numberpad_4,
  92. VoidBuildContext? onKey_numberpad_5,
  93. VoidBuildContext? onKey_numberpad_6,
  94. VoidBuildContext? onKey_numberpad_7,
  95. VoidBuildContext? onKey_numberpad_8,
  96. VoidBuildContext? onKey_numberpad_9,
  97. VoidBuildContext? onKey_numberpad_decimal,
  98. VoidBuildContext? onKey_numberpad_add,
  99. VoidBuildContext? onKey_numberpad_divide,
  100. VoidBuildContext? onKey_numberpad_subtract,
  101. VoidBuildContext? onKey_numberpad_multiply,
  102. VoidBuildContext? onKey_numberpad_pageup,
  103. VoidBuildContext? onKey_numberpad_pagedown,
  104. VoidBuildContext? onKey_numberpad_end,
  105. VoidBuildContext? onKey_numberpad_home,
})

Implementation

const DpadTextfield({
  Key? key,
  this.onChanged,
  required this.focusNodemine,
  required this.textcontrollermine,
  // this.child,
  this.foregroundDecoration,
  this.padding,
  this.alignment,
  this.width,
  this.height,
  this.margin,
  this.transform,
  this.ontap,
  this.onDoubletap,
  this.colors,
  this.constraints,
  this.backgroundDecoration,
  this.debugLabel,
  this.autoFocus,
  this.clipBehavior = Clip.none,
  this.focusedclipBehavior = Clip.none,
  this.nonfocusedclipBehavior = Clip.none,
  this.duration = const Duration(milliseconds: 500),
  this.focusedduration,
  this.nonfocusedduration,
  this.onEnd,
  this.focusedonEnd,
  this.nonfocusedonEnd,
  this.curve = Curves.linear,
  this.focusedcurve = Curves.linear,
  this.nonfocusedcurve = Curves.linear,
  this.transformAlignment,
  this.focusedheight,
  this.focusedalignment,
  this.focusedconstraints,
  this.focusedtransformAlignment,
  this.focusedwidth,
  this.focusedchild,
  this.focusedBackgroundColor,
  this.focusedBackgroundDecoration,
  this.focusedpadding,
  this.focusedForegroundDecoration,
  this.nonfocusedalignment,
  this.nonfocusedconstraints,
  this.nonfocusedheight,
  this.nonfocusedwidth,
  this.nonfocusedchild,
  this.nonfocusedBackgroundColor,
  this.nonfocusedBackgroundDecoration,
  this.nonfocusedpadding,
  this.nonfocusedForegroundDecoration,
  this.nonfocusedtransformAlignment,
  this.focusedtransform,
  this.nonfocusedtransform,
  this.focusedmargin,
  this.nonfocusedmargin,
  this.voidTrapKeyEvent,
  this.onLongPress,
  VoidBuildContext? onPressedEnterOKAction,
  VoidBuildContext? onPressedEscAction,
  VoidBuildContext? onPressedSpacebarAction,
  VoidBuildContext? onKey_a,
  VoidBuildContext? onKey_b,
  VoidBuildContext? onKey_c,
  VoidBuildContext? onKey_d,
  VoidBuildContext? onKey_e,
  VoidBuildContext? onKey_f,
  VoidBuildContext? onKey_g,
  VoidBuildContext? onKey_h,
  VoidBuildContext? onKey_i,
  VoidBuildContext? onKey_j,
  VoidBuildContext? onKey_k,
  VoidBuildContext? onKey_l,
  VoidBuildContext? onKey_m,
  VoidBuildContext? onKey_n,
  VoidBuildContext? onKey_o,
  VoidBuildContext? onKey_p,
  VoidBuildContext? onKey_q,
  VoidBuildContext? onKey_r,
  VoidBuildContext? onKey_s,
  VoidBuildContext? onKey_t,
  VoidBuildContext? onKey_u,
  VoidBuildContext? onKey_v,
  VoidBuildContext? onKey_w,
  VoidBuildContext? onKey_x,
  VoidBuildContext? onKey_y,
  VoidBuildContext? onKey_z,
  VoidBuildContext? onKey_numberpad_0,
  VoidBuildContext? onKey_numberpad_1,
  VoidBuildContext? onKey_numberpad_2,
  VoidBuildContext? onKey_numberpad_3,
  VoidBuildContext? onKey_numberpad_4,
  VoidBuildContext? onKey_numberpad_5,
  VoidBuildContext? onKey_numberpad_6,
  VoidBuildContext? onKey_numberpad_7,
  VoidBuildContext? onKey_numberpad_8,
  VoidBuildContext? onKey_numberpad_9,
  VoidBuildContext? onKey_numberpad_decimal,
  VoidBuildContext? onKey_numberpad_add,
  VoidBuildContext? onKey_numberpad_divide,
  VoidBuildContext? onKey_numberpad_subtract,
  VoidBuildContext? onKey_numberpad_multiply,
  VoidBuildContext? onKey_numberpad_pageup,
  VoidBuildContext? onKey_numberpad_pagedown,
  VoidBuildContext? onKey_numberpad_end,
  VoidBuildContext? onKey_numberpad_home,
})  :
      // assert(focusedchild != null, nonfocusedchild != null),

      _onPressedEnterOKAction = onPressedEnterOKAction,
      _onPressedEscAction = onPressedEscAction,
      _onKey_a = onKey_a,
      _onKey_b = onKey_b,
      _onKey_c = onKey_c,
      _onKey_d = onKey_d,
      _onKey_e = onKey_e,
      _onKey_f = onKey_f,
      _onKey_g = onKey_g,
      _onKey_h = onKey_h,
      _onKey_i = onKey_i,
      _onKey_j = onKey_j,
      _onKey_k = onKey_k,
      _onKey_l = onKey_l,
      _onKey_m = onKey_m,
      _onKey_n = onKey_n,
      _onKey_o = onKey_o,
      _onKey_p = onKey_p,
      _onKey_q = onKey_q,
      _onKey_r = onKey_r,
      _onKey_s = onKey_s,
      _onKey_t = onKey_t,
      _onKey_u = onKey_u,
      _onKey_v = onKey_v,
      _onKey_w = onKey_w,
      _onKey_x = onKey_x,
      _onKey_y = onKey_y,
      _onKey_z = onKey_z,
      _onKey_numberpad_0 = onKey_numberpad_0,
      _onKey_numberpad_1 = onKey_numberpad_1,
      _onKey_numberpad_2 = onKey_numberpad_2,
      _onKey_numberpad_3 = onKey_numberpad_3,
      _onKey_numberpad_4 = onKey_numberpad_4,
      _onKey_numberpad_5 = onKey_numberpad_5,
      _onKey_numberpad_6 = onKey_numberpad_6,
      _onKey_numberpad_7 = onKey_numberpad_7,
      _onKey_numberpad_8 = onKey_numberpad_8,
      _onKey_numberpad_9 = onKey_numberpad_9,
      _onKey_numberpad_add = onKey_numberpad_add,
      _onKey_numberpad_divide = onKey_numberpad_divide,
      _onKey_numberpad_decimal = onKey_numberpad_decimal,
      _onKey_numberpad_subtract = onKey_numberpad_subtract,
      _onKey_numberpad_multiply = onKey_numberpad_multiply,
      _onKey_numberpad_home = onKey_numberpad_home,
      _onKey_numberpad_end = onKey_numberpad_end,
      _onKey_numberpad_pageup = onKey_numberpad_pageup,
      _onKey_numberpad_pagedown = onKey_numberpad_pagedown,
      _onPressedSpacebarAction = onPressedSpacebarAction,
      super(key: key);