The flap position indicator (F1 bug) does not indicate info from the flap handle. It comes from the flap position transmitters at the #1 and #8 flap transmissions. The flap handle position sensor is used for the trailing edge uncommanded motion function.
The one component that is between all the sensors and the L.E. indication is the FSEU (flap/slat electronics unit).