Unpacking Flutter Packages | Toggle Switch v 2.0.1 | How To Use A Widget That Switches Options

Unpacking Flutter Packages | Toggle Switch v 2.0.1 | How To Use A Widget That Switches Options

Trey Codes

55 лет назад

603 Просмотров

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/tree/flutter_packages_toggle_switch_2.0.1

See How To Use the Flutter Package Flex Color Picker - A Flutter Widget For Selecting Colors : 👇
https://www.youtube.com/watch?v=G81icBKjlVY

View apps that I have developed n Flutter here : 👇
Android: https://play.google.com/store/apps/developer?id=Tr3umphant.Designs%2C+LLC
Apple: https://apps.apple.com/us/developer/tr3umphant-designs-llc/id937928984

Connect With Me:
TikTok: https://www.tiktok.com/@trey.codes
Linkedin: https://www.linkedin.com/in/trey-hope-69a3a774/
GitHub: https://github.com/trey-a-hope

➡️ ➡️ SUBSCRIBE: https://bit.ly/TreyCodes

Thank you for watching!

#treycodes
#flutter
#flutterpackage

Тэги:

#toggle_button #widget_of_the_week #flutter_switch #flutter #flutter_toggle_switch #toggle_switch_in_flutter #toggle_switch #flutter_packages #flutter_toggle_switch_plugin #toggle_switch_package #flutter_amazing_packages #switches_in_flutter #flutter_and_dart #flutter_font_awesome_icons #flutter_community #flutter_app_development #flutter_app #flutter_toggle_switch_widget #toggle_switch_widget #flutter_tutorial #flutter_plugin #flutter_buttons #flutter_toggle_state #ui #coding
Ссылки и html тэги не поддерживаются


Комментарии: