initState method
Initializes the OTP input fields with the specified length before the widget builds for the first time. Calls super.initState() after initialization to complete setup.
Implementation
@override
void initState() {
_initializeOtpFields(widget.length);
super.initState();
}