Skip to content

Instantly share code, notes, and snippets.

View alpbak's full-sized avatar
🎯
Coding

Alpaslan Bak alpbak

🎯
Coding
  • GD Holding
  • Istanbul
View GitHub Profile
*/
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(
@alpbak
alpbak / paytabsobjc.m
Created May 31, 2020 16:42
PayTabs integration - Objective C
- (void)handleCreditCard{
NSLog(@"CREDIT CARD");
AddressModel *addressModel;
for (AddressModel *am in [[[User sharedInstance]sharedUser]all_addresses]) {
if ([[am address_id] isEqualToString:_addressId]) {
addressModel = am;
}
}
private void sendBlockUser(Context context, ParseUser blocker, ParseUser blocked)
{
//swipeUp.removeUserFromList(blocked);
ProfileUtil.sendBlock(context, blocker, blocked);
}