custom_image 0.0.6 copy "custom_image: ^0.0.6" to clipboard
custom_image: ^0.0.6 copied to clipboard

This package adapts to the general needs of various projects, providing an effective and fast visual solution.

example/main.dart

import 'package:custom_image/custom_image.dart';

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Custom Image Example',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Custom Image Example'),
        ),
        body: Center(
          child: SingleChildScrollView(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: <Widget>[
                CustomImage(
                  'https://img.freepik.com/foto-gratis/pintura-lago-montana-montana-al-fondo_188544-9126.jpg',
                  height: 250,
                  width: 250,
                  borderRadius: BorderRadius.circular(50),
                  filterQuality: FilterQuality.high,
                  fit: BoxFit.cover,
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}
3
likes
150
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

This package adapts to the general needs of various projects, providing an effective and fast visual solution.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on custom_image