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
import 'dart:async'; | |
import 'package:audio_service/audio_service.dart'; | |
import 'package:just_audio/just_audio.dart'; | |
import 'package:audio_session/audio_session.dart'; | |
/// This task defines logic for playing a list of podcast episodes. | |
class AudioPlayerTask extends BackgroundAudioTask { | |
AudioPlayer _player = new AudioPlayer(); |
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
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
class SeekBar extends StatefulWidget { | |
final Duration duration; | |
final Duration position; | |
final ValueChanged<Duration> onChanged; | |
final ValueChanged<Duration> onChangeEnd; |
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
import 'dart:async'; | |
import 'package:audio_service/audio_service.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:musicplayer/BGAudioPlayer/AudioPlayerTask.dart'; | |
import 'package:musicplayer/BGAudioPlayer/Seekbar.dart'; | |
import 'package:rxdart/rxdart.dart'; | |
class Playlist extends StatefulWidget { |
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
<!DOCTYPE html> | |
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Laravel</title> | |
<!-- Fonts --> | |
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet"> |
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
<?php | |
namespace App\Classes; | |
use SimpleXMLElement; | |
class MyIpay { | |
public $MerchantId; | |
public $Password; | |
public $Key; |
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
<?php | |
namespace App\Http\Controllers; | |
use App\Classes\MyIpay; | |
use Illuminate\Http\Request; | |
class IPayController extends Controller | |
{ | |
public function payWithIpay(Request $request){ |
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
<!DOCTYPE html> | |
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Laravel</title> | |
<!-- Fonts --> | |
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet"> |
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
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use PayPalCheckoutSdk\Orders\OrdersCreateRequest; | |
use PayPalCheckoutSdk\Orders\OrdersCaptureRequest; | |
use PayPalCheckoutSdk\Core\PayPalHttpClient; | |
use PayPalCheckoutSdk\Core\SandboxEnvironment; | |
use PayPalCheckoutSdk\Core\ProductionEnvironment; |