How to get Flutter TextField onLongpress callback?

I could have given you a more direct approach if I know your Use Case.

But this works Pretty Fine.

   InkWell(
       onLongPress: () {
                print("onlong Press");
                },
              child: IgnorePointer(
                ignoring: true,  // You can make this a variable in other toggle True or False 
                child: TextField(
                  decoration: InputDecoration(
                    border: OutlineInputBorder(),
                    labelText: 'Password',
                    hintText: 'Enter Password',
                  ),
                ),
              ),
            ),