Skip to content

Instantly share code, notes, and snippets.

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

Dmytro Virych damienissa

🏠
Working from home
View GitHub Profile

Flutter Project Rules (.mdc)

0) Scope

These rules govern architecture, code style, and file layout for this Flutter repo. They are enforceable guidelines for PR review and AI-assisted edits in Cursor.


1) Architecture & Folder Structure (Feature-first, Clean-ish)

Goal: Separate concerns by feature, keep UI and data apart, and share only stable cross-cutting utilities.

@damienissa
damienissa / dfsgdfg_metadata.json
Created March 17, 2025 14:33
Token Metadata for dfsgdfg
{"name":"dfsgdfg","symbol":"sdfgf","description":"sdfgjhgfhjfgkghjkk dfg hd fgh","image":"https://gratisography.com/wp-content/uploads/2024/11/gratisography-augmented-reality-800x525.jpg"}
Privacy Policy
Flutter Dev website is owned by Flutter Dev, which is a data controller of your personal data.
We have adopted this Privacy Policy, which determines how we are processing the information collected by Flutter Dev, which also provides the reasons why we must collect certain personal data about you. Therefore, you must read this Privacy Policy before using Flutter Dev website.
We take care of your personal data and undertake to guarantee its confidentiality and security.
Personal information we collect:
import Foundation
import Combine
extension Publisher {
@discardableResult
public func sink(receiveValue: @escaping ((Self.Output) -> Void)) -> AnyCancellable {
sink(receiveCompletion: {
switch $0 {
import Foundation
import Combine
extension URLSession {
@discardableResult
func dataTaskPublisher<Response: Decodable>(for request: URLRequest, type: Response.Type) -> AnyPublisher<Response, Error> {
dataTaskPublisher(for: request)
.map { $0.data }