Add as many custom shadows (Color, Offset, Blur, Neumorphism) as you like to any Xamarin.Forms view (Android, iOS, UWP, Tizen). NuGet Package

Add as many custom shadows as you like to any Xamarin.Forms view (Android, iOS, UWP, Tizen).

* You can specify each shadow Color, Opacity, Blur, and Offset
* You can add one shadow, 3 shadows, 99 shadows, to any Xamarin.Forms element
* Implement easily Neumorphism
* Animate any of these property and make the shadows dance around your elements
* The only dependency is `Xamarin.Forms`, no `AndroidX`, no `SkiaSharp` (except Tizen) needed!

Performance: Implemented with custom draw on Android, CALayer on iOS, SpriteVisual on UWP, SkiaSharp on Tizen.

Mandatory initialization on iOS:

Xamarin.Forms.Forms.Init();
Sharpnado.Shades.iOS.iOSShadowsRenderer.Initialize();

Mandatory initialization on UWP:

var rendererAssemblies = new[] { typeof(UWPShadowsRenderer).GetTypeInfo().Assembly };
Xamarin.Forms.Forms.Init(e, rendererAssemblies);

Mandatory initialization on Tizen:

Xamarin.Forms.Forms.Init();
Sharpnado.Shades.Tizen.TizenShadowsRenderer.Initialize();.




Got any Add as many custom shadows (Color, Offset, Blur, Neumorphism) as you like to any Xamarin.Forms view (Android, iOS, UWP, Tizen). Question?





Info

Version: 1.2.1
Author(s): Jean-Marie Alfonsi
Last Update: Wednesday, July 20, 2022
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/roubachof/Sharpnado.Shadows
NuGet Url: https://www.nuget.org/packages/Sharpnado.Shadows


Install
Install-Package Sharpnado.Shadows
dotnet add package Sharpnado.Shadows
paket add Sharpnado.Shadows
Sharpnado.Shadows Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 monoandroid10 tizen40 uap10.0.16299 xamarinios10 3 packages depend on this package.


Tags



STATS

must-have-score

6.5

avg-downloads-per-day

219

days-since-last-release

885