Skip to content

Instantly share code, notes, and snippets.

View NijatTagizada's full-sized avatar
👋
Thinking

Nijat Tagizada NijatTagizada

👋
Thinking
View GitHub Profile
@NijatTagizada
NijatTagizada / proxy.dart
Last active June 3, 2024 11:52
Example of Proxy Design Pattern
import 'package:flutter/material.dart';
abstract class Proxy {
Widget build(BuildContext context);
}
class SensitiveData implements Proxy {
@override
Widget build(BuildContext context) {
return const Text("Password is 1234");
@NijatTagizada
NijatTagizada / Melos config.yaml
Last active December 30, 2022 09:48
Flutter melos config and scripts
name: melos_demo_app
packages:
- packages/core/**
- packages/events/**
- '*'
scripts:
test:selective_unit_test:
run: melos exec --dir-exists="test" --fail-fast -- flutter test --no-pub --coverage