widget_switcher

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

widget switcher

Widget Switcher #

An animated widget that lets you switch between widgets.
(This package is still in development)

Features #

Provide widgets of your choosing to switch between
Adjust the animation according to your choice
Use nested widgets for more options

Getting started #
In your flutter project add the dependency:
dependencies:
widget_switcher: any
copied to clipboard
Import the package:
import 'package:widget_switcher/widget_switcher.dart';
copied to clipboard
Usage #
Scaffold(
body: Center(
child: WidgetSwitcher(
firstWidget: textField(),
secondWidget: button(),
switchToSecondWidget: isUnlocked,
animationDuration: 500,
),
),
)
copied to clipboard
Check the example project for a full example

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.