trainman_booking_sdk 0.0.4
trainman_booking_sdk: ^0.0.4 copied to clipboard
A train ticket booking SDK powered by trainman.
Trainman Booking Sdk #
Steps which need to follow while integrating this booking sdk in flutter #
-
While using this sdk first need to add plugin in pubspec.yaml within dependencies section dependencies: flutter: sdk: flutter #trainman_booking_sdk: ^0.0.3# you can also use by using command
flutter pub add trainman_booking_sdk
-
Create object of Booking SDK like:- InitiateTmBookingSdk() OR
void main() {runApp(const InitiateTmBookingSdk()); }this will automatically invokes Trainman Booking Sdk .
-
After invocation of Booking sdk first there is a login screen. if you wants to continue using login It requires
client id
,client secret
,client_token
and all this credentials will be provided by Trainman side for BothDebug
andProd
Environment.