Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to add image from assets inside as a decoration image in container

Container(
      height: 120.0,
      width: 120.0,
      decoration: BoxDecoration(
        image: DecorationImage(
          image: AssetImage(
              'assets/assets/alucard.jpg'),
          fit: BoxFit.fill,
        ),
        shape: BoxShape.circle,
      ),
    )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #image #assets #decoration #image #container
ADD COMMENT
Topic
Name
6+1 =