vtnet_components 0.0.1
vtnet_components: ^0.0.1 copied to clipboard
Package for all vtnet component
Component design by Viettel Network Mobile Team
Features #
All flutter widget that used for VT_NET mobile application such as: Base Stateful Widget, Base Stateless Widget,Toast, Dialog, Chips, Animated ListView, ....
Getting started #
Import the package in your Dart code:
import 'package:company_widgets/company_widgets.dart';
Usage #
Now, you can use any of the custom widgets provided by the package in your Flutter app: Example: show a toast with toast type is success
- First : Create your own widget that implement BaseStatefulWidget and BaseStateFulWidgetState. (see Example). Then call showToast method to show beautiful toast widget.
showToast(
onActionButtonClick: () {
// Do something
},
onTrailingClick: () {
// Do somthing
},
toastType: ToastType.info,
message: 'ToastType.info',
buttonTitle: 'Button',
isHasAction: true,
isHasTrailing: true,
)
Additional information #
All of you can contribute to this package by email for me to add for this project. My email: huyducle1109@gmail.com I really appreciate your effort to make project more useful, diversified and provide it to society. For more information contact me by Zalo, Viber, Whatsapp: 0961503893