tommykw / oval_image_combiner

A Flutter widget to combine up to four images into an oval shape.

Home Page:https://pub.dev/packages/oval_image_combiner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oval Image Combiner

A Flutter widget that allows you to combine up to four images into an oval shape.

Features

  • Combine 1 to 4 images into an oval shape.
  • Supports both raster and SVG images.
  • Customizable image size.
  • Customizable borders and dividers.

Getting started

Installation

Add the following to your pubspec.yaml file:

dependencies:
  oval_image_combiner: ^[LATEST_VERSION]

Usage

Import the package:

import 'package:oval_image_combiner/oval_image_combiner.dart';

Use the OvalImageCombiner widget:

OvalImageCombiner(
  borderColor: Colors.grey,
  borderWidth: 2,
  dividerColor: Colors.grey,
  dividerThickness: 2,
  imageUrls: [
    'https://example.com/image1.png',
    'https://example.com/image2.png',
    // Add up to 4 image URLs
  ],
  imageSize: 60,
)

Example

Here you can find an example probject showcasing how to use the OvalImageCombiner widget.

License

This probject is licensed under the MIT License. See the LICENSE file for details.

About

A Flutter widget to combine up to four images into an oval shape.

https://pub.dev/packages/oval_image_combiner

License:MIT License


Languages

Language:Dart 76.1%Language:HTML 10.7%Language:Ruby 8.2%Language:Swift 4.0%Language:Kotlin 0.7%Language:Objective-C 0.2%