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 'package:flutter/material.dart'; | |
class OverlayWithHole extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar(title: Text("Flutterclutter: Holes")), | |
body: _getExperimentOne() | |
); | |
} |
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
final todosFamily = ProviderFamily<Todo, int>((ref, id) { | |
return Todo( | |
id: '$id', | |
description: 'Todo $id', | |
); | |
}); | |
final currentTodo = Provider<Todo>((ref) => null); | |
class List extends StatelessWidget { |
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 SwiftUI | |
import Firebase | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { | |
FirebaseApp.configure() | |
return true | |
} | |
} |
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
class DioHelper { | |
final Dio dio; | |
DioHelper({@required this.dio}); | |
final CustomSharedPreferences _customSharedPreferences = | |
new CustomSharedPreferences(); | |
static String _baseUrl = BASE_URL; | |
String token = ""; | |
void initializeToken(String savedToken) { |
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
{ | |
"title": "Discord-Enter-Modification", | |
"rules": [ | |
{ | |
"description": "Discord-Enter-Modification", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "return_or_enter" |
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
// Copyright 2014 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
// Flutter code sample for NavigationBar with nested Navigator destinations. | |
import 'package:flutter/material.dart'; | |
class Destination { | |
const Destination(this.index, this.title, this.icon, this.color); |
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
# ==================== Emojis & Prefix ==================== | |
# ✨ feat: 新しい機能 | |
# 🐛 fix: バグの修正 | |
# 📚 docs: ドキュメントのみの変更 | |
# 🖋 style: 空白、フォーマット、セミコロン追加など | |
# ♻️ refactor: 仕様に影響がないコード改善(リファクタ) | |
# 🐎 perf: パフォーマンス向上関連 | |
# 🚨 test: テスト関連 |
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
targets: | |
$default: | |
builders: | |
# 他の指定は省略 | |
source_gen|combining_builder: | |
options: | |
ignore_for_file: | |
- type=lint | |
- implicit_dynamic_parameter | |
- implicit_dynamic_type |
OlderNewer