Skip to content

Instantly share code, notes, and snippets.

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

musa sahin musahinist

🏠
Working from home
View GitHub Profile
@musahinist
musahinist / figma_compatibility_scaffold.dart
Created September 6, 2025 12:25 — forked from gazialankus/figma_compatibility_scaffold.dart
Scales the whole screen in the scaffold so you work with Figma's units and enjoy const widgets at the same time
import 'package:flutter/material.dart';
class FigmaCompatibilityForBottomSheet extends StatelessWidget {
const FigmaCompatibilityForBottomSheet({required this.child, super.key});
final Widget child;
@override
Widget build(BuildContext context) {
final mq = MediaQuery.of(context);
@musahinist
musahinist / builder.dart
Created October 6, 2024 13:32 — forked from rodydavis/builder.dart
SQLite3 Sync UI
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:sqlite3/common.dart';
import '../src/database/types.dart';
class SqlBuilder extends StatefulWidget {
const SqlBuilder({
super.key,
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
import 'package:flutter/material.dart';
import 'dart:math' as math;
import 'package:flutter/services.dart';
class DrawPatternGame extends StatefulWidget {
const DrawPatternGame({Key? key}) : super(key: key);
@override
State<DrawPatternGame> createState() => _DrawPatternGameState();

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

import 'package:dio_http/dio_http.dart';
import 'package:logger/logger.dart';
final Logger logger = Logger(
printer: PrettyPrinter(
methodCount: 0, // number of method calls to be displayed
errorMethodCount: 8, // number of method calls if stacktrace is provided
lineLength: 120, // width of the output
colors: true, // Colorful log messages
printEmojis: false, // Print an emoji for each log message