This file contains hidden or 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 'package:example/widget/list_item.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_easyrefresh/easy_refresh.dart'; | |
| import 'package:flutter_i18n/flutter_i18n.dart'; | |
| import 'package:url_launcher/url_launcher.dart'; | |
| /// 个人中心页面 | |
| class UserProfilePage extends StatefulWidget { | |
| @override | |
| _UserProfilePageState createState() => _UserProfilePageState(); |
This file contains hidden or 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 | |
| class Event { | |
| private static $events = []; | |
| public static function listen($name, $callback) { | |
| self::$events[$name][] = $callback; | |
| } | |
| public static function trigger($name, $argument = null) { | |
| foreach (self::$events[$name] as $event => $callback) { |
This file contains hidden or 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
| <template> | |
| <div> | |
| <accordion-item | |
| v-for="(item, index) in items" | |
| :title="item[titleName]" | |
| :body="item[bodyName]" | |
| :key="index" | |
| :is-open="activeItemIndex == index" | |
| @toggled="onToggle" | |
| ></accordion-item> |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- The android:opacity=”opaque” line — this is critical in preventing a flash of black as your theme transitions. --> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque"> | |
| <!-- The background color, preferably the same as your normal theme --> | |
| <item android:drawable="@android:color/white"/> | |
| <!-- Your product logo - 144dp color version of your app icon --> | |
| <item> |
This file contains hidden or 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\Services; | |
| use Illuminate\Session\Store; | |
| /** | |
| * Laravel 5 Flash messages inspired by Laracasts Flash Messages. | |
| * | |
| * @link https://github.com/laracasts/flash | |
| * | |
| * @author Andrew Willis <[email protected]> | |
| * |
This file contains hidden or 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
| <template> | |
| <div class="Alert Alert--{{ type | capitalize }}"> | |
| <slot></slot> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | |
| props: { | |
| type: { |
This file contains hidden or 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
| <div id="{{ $name }}" class="overlay"> | |
| <a href="#" class="cancel"></a> | |
| <div class="modal"> | |
| {{ $slot }} | |
| <a href="#" class="close">×</a> | |
| </div> | |
| </div> |
This file contains hidden or 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
| { | |
| "additional_path_items": | |
| [ | |
| "/usr/local/php5/bin/" | |
| ], | |
| "auto_complete_selector": "source, text", | |
| "bold_folder_labels": true, | |
| "color_scheme": "Packages/Colorsublime-Themes/Facebook.tmTheme", | |
| "font_face": "Fira Code", | |
| "font_options": [], |
This file contains hidden or 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
| [ | |
| "United States" => "us", | |
| "Afghanistan" => "af", | |
| "Albania" => "al", | |
| "Algeria" => "dz", | |
| "American Samoa" => "as", | |
| "Andorra" => "ad", | |
| "Angola" => "ad", | |
| "Anguilla" => "ai", | |
| "Antarctica" => "aq", |
NewerOlder