Allow option switches to have keys in Gallery (#20740)
Allow option switches to have keys in Gallery (#20740)

* Allow option switches to have keys

* Review comments

tvolkert/flutter,tvolkert/flutter,Hixie/flutter,flutter/flutter,tvolkert/flutter,flutter/flutter,tvolkert/flutter,cbracken/flutter,cbracken/flutter,cbracken/flutter,cbracken/flutter,cbracken/flutter,Hixie/flutter,tvolkert/flutter,flutter/flutter,flutter/flutter,Hixie/flutter,flutter/flutter,Hixie/flutter,Hixie/flutter,cbracken/flutter,Hixie/flutter,Hixie/flutter,flutter/flutter,tvolkert/flutter,flutter/flutter,tvolkert/flutter,Hixie/flutter,cbracken/flutter,flutter/flutter,cbracken/flutter,tvolkert/flutter,flutter/flutter,flutter/flutter,cbracken/flutter,Hixie/flutter,Hixie/flutter,tvolkert/flutter,tvolkert/flutter,cbracken/flutter