Answers for "flutter cliprrect image container"

4

flutter cliprrect

ClipRRect(
          borderRadius: BorderRadius.circular(20.0),
          child: Container(
            width: 200.0,
            height: 200.0,
            color: Colors.indigo,
          ),
        ),
Posted by: Guest on September-06-2021
1

ink image clip flutter

Material(
              elevation: 0,
              clipBehavior: Clip.hardEdge,
              type: MaterialType.circle,
              color: Colors.grey[200],
              child: Stack(
                children: [
                  FadeInImage.assetNetwork(
                    placeholder: "resources/your_placeholder_image.png",
                    image:
                        'https://img.depor.com/files/ec_article_multimedia_gallery/uploads/2018/07/05/5b3e3ad01bd47.jpeg',
                    fit: BoxFit.cover,
                    width: 120.0,
                    height: 120.0,
                  ),
                  Positioned.fill(
                    child: Material(
                        color: Colors.transparent,
                        child: InkWell(
                            splashColor: Colors.lightGreenAccent, onTap: () {})),
                  ),
                ],
              ),
            ),
Posted by: Guest on May-10-2020

Code answers related to "flutter cliprrect image container"

Code answers related to "Dart"

Browse Popular Code Answers by Language