xsahil03x / Before_after
Licence: mit
A flutter package which makes it easier to display the difference between two images.
Stars: ✭ 453
Programming Languages
dart
5743 projects
Projects that are alternatives of or similar to Before after
Vue Flickity
A Vue Slider / Carousel Component for Flickity.js
Stars: ✭ 339 (-25.17%)
Mutual labels: slider
Vue Gallery
📷 Responsive and customizable image and video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers.
Stars: ✭ 405 (-10.6%)
Mutual labels: slider
Multislider
Multi functional slider/seekbar( / rangebar / scrubber) for Android
Stars: ✭ 309 (-31.79%)
Mutual labels: slider
Circular Slider Android
Circular Slider UI Control for Android
Stars: ✭ 315 (-30.46%)
Mutual labels: slider
React Smooth Range Input
🎚 React beautiful input range slider
Stars: ✭ 356 (-21.41%)
Mutual labels: slider
Vue Slick Carousel
🚥Vue Slick Carousel with True SSR Written for ⚡Faster Luxstay
Stars: ✭ 447 (-1.32%)
Mutual labels: slider
Tiny Slider
Vanilla javascript slider for all purposes.
Stars: ✭ 4,298 (+848.79%)
Mutual labels: slider
Zuck.js
A javascript library that lets you add stories EVERYWHERE.
Stars: ✭ 3,396 (+649.67%)
Mutual labels: slider
Vue Flux
Image slider which comes with 20 cool transitions
Stars: ✭ 359 (-20.75%)
Mutual labels: slider
Qqzonemood
QQZone mood spider and analysis. QQ空间多线程爬虫和数据挖掘。提供线上服务,扫码登陆即可自动爬取和分析数据,还有网易云年度报告风格的数据展示;使用docker-compose打包程序,方便部署;额外提供QQ空间抽奖小程序。
Stars: ✭ 439 (-3.09%)
Mutual labels: slider
Bootstrap Slider
A slider control for Bootstrap 3 & 4.
Stars: ✭ 2,981 (+558.06%)
Mutual labels: slider
Discreteslider
A slider (SeekBar) with amazing value label.
Stars: ✭ 351 (-22.52%)
Mutual labels: slider
Stepslider
StepSlider its custom implementation of slider such as UISlider for preset integer values.
Stars: ✭ 391 (-13.69%)
Mutual labels: slider
👏 Before After
A flutter package which makes it easier to display the differences between two images..
The source code is 100% Dart, and everything resides in the /lib folder.
Show some ❤️ and star the repo to support the project
🔅 Gifs
💻 Installation
In the dependencies:
section of your pubspec.yaml
, add the following line:
dependencies:
before_after: <latest version>
❔ Usage
Import this class
import 'package:before_after/before_after.dart';
before after
BeforeAfter(
beforeImage: Image.asset('assets/after.jpg'),
afterImage: Image.asset('assets/before.jpg'),
),
🎨 Customization and Attributes
All customizable attributes for BeforeAfter Widget
Attribute Name | Example Value | Description |
---|---|---|
beforeImage (Widget) | Image.asset('assets/before.jpg') | Sets the Before Image |
afterImage (Widget) | Image.asset('assets/after.jpg') | Sets the After Image |
isVertical (bool) | false | Sets the orientation of the slider |
imageHeight (double) | 100.0 | Sets height of both the images |
imageWidth (double) | 200.0 | Sets width of the images |
imageCornerRadius (double) | 16.0 | Sets the corner radius of the images |
thumbColor (Color) | Colors.red | Sets the color of the slider |
thumbRadius (double) | 16.0 | Sets the radius of the thumb circle |
overlayColor (Color) | Colors.yellow | Sets the color of the slider thumb overlay |
👍 How to Contribute
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
📃 License
Copyright (c) 2019 Sahil Kumar
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Getting Started
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].