layered_image 0.0.1 copy "layered_image: ^0.0.1" to clipboard
layered_image: ^0.0.1 copied to clipboard

A new Flutter package project.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:layered_image/layered_image.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Stalker example',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: SizedBox(
          width: 400,
          height: 580,
          child: LayeredImage(
            backgroundImageUrl: 'https://neatfastro.com/wp-content/uploads/2021/07/background.jpeg',
            layersImagesUrl: [
              'https://neatfastro.com/wp-content/uploads/2021/07/super-scaled-1.png',
              'https://neatfastro.com/wp-content/uploads/2021/07/batman-scaled-1.png',
              'https://neatfastro.com/wp-content/uploads/2021/07/aquaman-scaled-1.png',
            ],
          ),
        ),
      ),
    );
  }
}
21
likes
130
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on layered_image