Creates a widget that displays an ImageStream obtained from a File . The file , scale , and repeat arguments must not be null. Either the width and height arguments should be specified, or the widget should be placed in a context that sets tight layout constraints.