Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

image from assets in flutter

Widget build(BuildContext context) {
  return Image(image: AssetImage('graphics/background.png'));
}
Source by flutter.dev #
 
PREVIOUS NEXT
Tagged: #image #assets #flutter
ADD COMMENT
Topic
Name
3+2 =