A ViewPager for Android & iOS. It also has handy features implemented to handle common use-case scenarios.
const views = [
<View><Text>View 1</Text></View>,
View 2,
import 'package:flutter/material.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:firebase_core/firebase_core.dart'; | |
import 'package:cloud_firestore/cloud_firestore.dart'; | |
Future<void> main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
await Firebase.initializeApp( | |
options: const FirebaseOptions( | |
apiKey: 'AIzaSyAHAsf51D0A407EklG1bs-5wA7EbyfNFg0', |
<!doctype html> | |
<html lang="en"> | |
<body> | |
<script src="https://www.gstatic.com/firebasejs/8.3.3/firebase-app.js"></script> | |
<script src="https://www.gstatic.com/firebasejs/8.3.3/firebase-database.js"></script> | |
<script> | |
// TODO: Replace the following with your app's Firebase project configuration | |
var firebaseConfig = { |
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', '<< KEY >>' ); | |
// Array of push tokens | |
$registrationIds = array("<< TOKEN 1>>", "<< TOKEN 2 >>"); | |
// prep the bundle |
var gulp = require('gulp'), | |
gulpif = require('gulp-if'), | |
clean = require('gulp-clean'), | |
concat = require('gulp-concat'), | |
autoprefixer = require('gulp-autoprefixer'), | |
flatten = require('gulp-flatten'), | |
usemin = require('gulp-usemin'), | |
jade = require('gulp-jade'), | |
minifyCss = require('gulp-minify-css'), | |
uglify = require('gulp-uglify'), |
html, body { | |
height: 100%; | |
} | |
body { | |
font-family: "Lucida Grande", Helvetica, Arial, sans-serif; | |
overflow-y: scroll; | |
} |
{ | |
"directory" : "src/assets/components" | |
} |
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Api Controller | |
|-------------------------------------------------------------------------- | |
| | |
| This controller handles the dynamic Api request construction from an | |
| AJAX only request (determined by the X-Requested-With header). The | |
| request uses the standard Api Facade, but requires a JSON payload in |
<?php namespace Acme\Facades; | |
use Illuminate\Support\Facades\Facade; | |
class Api extends Facade { | |
/** | |
* Get the registered name of the component. | |
* | |
* @return string |
<?php | |
/** | |
* | |
* Origin: http://forums.steampowered.com/forums/showthread.php?t=1430511 | |
* | |
* @package Steam Community API | |
* @copyright (c) 2010 ichimonai.com | |
* @license http://opensource.org/licenses/mit-license.php The MIT License | |
* |