Toggle Switch 2.0.1
In this video, I'll be demonstrating the ToggleSwitch widget, and how you can customize it in a plethora of ways. It provides specific UI styling as well as call back functions for on-click events.
This package is available for Android, iOS, macOS, Web, Linux, and Windows.
As of the recording of this video, it has
711 likes 👍
140 pub points 👍
98% popularity 👍
CHAPTERS
0:00 - Intro
0:53 - Download Package From PUB.DEV
1:18 - Lets Jump Into The Code
1:52 - [ dividerColor ]
2:08 - [ activeBgColor ]
2:56 - [ activeFgColor ]
3:16 - [ inactiveBgColor ]
3:36 - [ labels ]
4:32 - [ totalSwitches ]
4:38 - [ icons ]
4:59 - [ activeBgColors ]
5:42 - [ minWidth & minHeight ]
6:06 - [ cornerRadius ]
6:19 - [ fontSize ]
6:48 - [ iconSize ]
7:10 - [ onToggle ]
9:15 - [ changeOnTap ]
9:50 - [ textDirectionRTL ]
10:27 - [ initialLabelIndex ]
10:51 - [ doubleTapDisable ]
11:21 - [ isVertical ]
11:41 - Other Properties
12:56 - Outro
Download the package here : 👇
https://pub.dev/packages/toggle_switch
Source code for this example here : 👇
https://github.com/trey-a-hope/demos/...
See How To Use the Flutter Package Flex Color Picker - A Flutter Widget For Selecting Colors : 👇
• Unpacking Flutter Packages | Flex Col...
View apps that I have developed n Flutter here : 👇
Android: https://play.google.com/store/apps/de...
Apple: https://apps.apple.com/us/developer/t...
Connect With Me:
TikTok: / trey.codes
Linkedin: / trey-hope-69a3a774
GitHub: https://github.com/trey-a-hope
➡️ ➡️ SUBSCRIBE: https://bit.ly/TreyCodes
Thank you for watching!
#treycodes
#flutter
#flutterpackage