Skip to content

Instantly share code, notes, and snippets.

View adityadroid's full-sized avatar
🎯
Fluttering around.

Aditya Gurjar adityadroid

🎯
Fluttering around.
View GitHub Profile
@passsy
passsy / material text sizes.md
Last active May 25, 2023 04:24
Material font sizes
@codediodeio
codediodeio / database.rules.json
Last active June 22, 2024 07:03
Common Database Rules for Firebase
// No Security
{
"rules": {
".read": true,
".write": true
}
}
@SashaKryzh
SashaKryzh / flutter_extension_methods.dart
Last active June 14, 2024 19:49
List of my favorite extension methods in Flutter.
import 'package:flutter/material.dart';
extension BuildContextExtensions on BuildContext {
ThemeData get theme => Theme.of(this);
TextTheme get textTheme => theme.textTheme;
ColorScheme get colorScheme => theme.colorScheme;
DefaultTextStyle get defaultTextStyle => DefaultTextStyle.of(this);