I hereby claim:
- I am avuenja on github.
- I am celopeccin (https://keybase.io/celopeccin) on keybase.
- I have a public key ASC2WVH8mEky1rhzDYokML6oyZd3Q_4eFfwNwXpFFoptAQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import 'package:flutter/services.dart'; | |
| class HapticFeedback { | |
| static Future<void> lightImpact() async { | |
| await SystemChannels.platform.invokeMethod<void>( | |
| 'HapticFeedback.vibrate', | |
| 'HapticFeedbackType.lightImpact', | |
| ); | |
| } |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_raw/src/utils/haptic.dart'; // Adiciono a linha de importação do util | |
| import 'package:flutter_raw/src/controllers/home.dart'; | |
| class HomeView extends StatelessWidget { | |
| final HomeController _homeController = HomeController(); | |
| @override | |
| Widget build(BuildContext context) { |
| .parent{ | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| height: 100vh; | |
| } |
| .grid-layout{ | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| grid-gap: 10px; | |
| } |
| //Modified Example from https://www.reddit.com/r/dartlang/comments/69luui/minimal_flutter_game_loop/ | |
| import 'dart:math' as math; | |
| import 'dart:ui'; | |
| import 'package:flutter/material.dart'; | |
| main() { | |
| runApp(MyApp()); | |
| } |
| import 'package:flutter/material.dart'; | |
| import 'dart:ui' as ui; | |
| import 'package:flutter/services.dart' show rootBundle; | |
| import 'dart:async'; | |
| import 'dart:typed_data'; | |
| void main() => runApp(new MyApp()); | |
| class MyApp extends StatelessWidget { | |
| // This widget is the root of your application. |
| # For https://keymap-drawer.streamlit.app/ | |
| layout: {qmk_keyboard: crkbd/rev4_0/standard, layout_name: LAYOUT_split_3x6_3_ex2} | |
| layers: | |
| L0: | |
| - ESC | |
| - Q | |
| - W | |
| - E | |
| - R | |
| - T |