Skip to content

Instantly share code, notes, and snippets.

View naoki0719's full-sized avatar
🏠
Working from home

Naoki naoki0719

🏠
Working from home
View GitHub Profile
@naoki0719
naoki0719 / install.sh
Created May 18, 2022 01:05
Install textlint for Re:VIEW Starter
npm i -D textlint textlint-filter-rule-allowlist textlint-filter-rule-comments textlint-filter-rule-whitelist textlint-plugin-review textlint-rule-ja-hiragana-fukushi textlint-rule-ja-hiragana-hojodoushi textlint-rule-ja-hiragana-keishikimeishi textlint-rule-ja-no-space-around-parentheses textlint-rule-ja-space-around-code textlint-rule-preset-ja-spacing textlint-rule-preset-ja-technical-writing textlint-rule-preset-jtf-style textlint-rule-prh
@naoki0719
naoki0719 / gist:c61ecca14f8cfbf778c7c24b2426c6cb
Created November 4, 2021 00:09
How to change pages with release with flutter_screen_lock
import 'package:flutter/material.dart';
import 'package:flutter_screen_lock/functions.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@naoki0719
naoki0719 / main.dart
Last active August 3, 2021 23:59
Dynamically change the title based on the number of errors.
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_screen_lock/functions.dart';
void main() {
runApp(
MaterialApp(
home: const Home(),
),
@naoki0719
naoki0719 / automatic lock for flutter_screen_lock.dart
Created January 20, 2021 13:49
Example of locking automatically
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_screen_lock/lock_screen.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {