custom_switcher

Creator: coderz1093

Last updated:

0 purchases

custom_switcher Image
custom_switcher Images

Languages

Categories

Add to Cart

Description:

custom switcher

CustomSwitcher #
Customizable UI widget made for flutter similar to a content switcher
Installations #
Add top_modal_sheet: ^1.0.0 in your pubspec.yaml dependencies. And import it:
import 'package:custom_switcher/custom_switcher.dart';
copied to clipboard
How to use #
CustomSwitcher(
children: [
ItemCustomSwitcher(
child: Center(child: Text("Cricket", overflow: TextOverflow.ellipsis, style: TextStyle(fontWeight: FontWeight.bold, fontSize: 15)),),
icon: Icon(Icons.sunny, color: Colors.amber,),
),
ItemCustomSwitcher(
child: Center(child: Text("Golf", overflow: TextOverflow.ellipsis, style: TextStyle(fontWeight: FontWeight.bold, fontSize: 15)),),
icon: Icon(Icons.egg_alt_rounded, color: Colors.teal,)
),
ItemCustomSwitcher(
child: Center(child: Text("Motorsport", overflow: TextOverflow.ellipsis, style: TextStyle(fontWeight: FontWeight.bold, fontSize: 15)),),
icon: FlutterLogo()
),
],
)
copied to clipboard
For a more detail example please take a look at the example folder.
Demo #

- #
If something is missing, feel free to open a ticket or contribute!

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.