This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
moveTextForward() { | |
if (mounted) { | |
textAnimationController.forward(from: 0).whenComplete(() { | |
textScaleAnimationController.forward(from: 0).whenComplete(() { | |
textScaleAnimationController.reverse().whenComplete(() { | |
Future.delayed(const Duration(milliseconds: 2000), () { | |
if (!isProcessingText) { | |
originalStr = MDLanguage().w('please wait'); | |
} else { | |
originalStr = MDLanguage().w('processing'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*/ | |
I took this code from a production app and abbreviated it. | |
You can't copy and paste this code. | |
The code is not complete. | |
This is just to give you and idea how to play videos in scroll views in flutter | |
*/ | |
Widget _videoScrollView() { | |
const Key centerKey = ValueKey<String>('video-sliver-list'); | |
return CustomScrollView( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)handleCreditCard{ | |
NSLog(@"CREDIT CARD"); | |
AddressModel *addressModel; | |
for (AddressModel *am in [[[User sharedInstance]sharedUser]all_addresses]) { | |
if ([[am address_id] isEqualToString:_addressId]) { | |
addressModel = am; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void sendBlockUser(Context context, ParseUser blocker, ParseUser blocked) | |
{ | |
//swipeUp.removeUserFromList(blocked); | |
ProfileUtil.sendBlock(context, blocker, blocked); | |
} |