Skip to content

Instantly share code, notes, and snippets.

View mkiisoft's full-sized avatar
🤓
Flutter + Android + iOS

Mariano Zorrilla mkiisoft

🤓
Flutter + Android + iOS
View GitHub Profile
@mkiisoft
mkiisoft / free_countries.dart
Created April 5, 2022 19:43
Free Countries
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart';
void main() => runApp(MainApp());
class MainApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@mkiisoft
mkiisoft / index.js
Created January 26, 2022 17:53
Firebase Cloud Function to get custom token login
const functions = require("firebase-functions");
const admin = require('firebase-admin');
const serviceAccount = require("./path-to-firebase-adminsdk.json");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount)
});
exports.getToken = functions.https.onCall(async (data, context) => {
@mkiisoft
mkiisoft / app.dart
Created November 24, 2021 01:30
Dart Pad Animation
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@mkiisoft
mkiisoft / build.yaml
Created March 2, 2021 13:22 — forked from britannio/build.yaml
Example build.yaml config for https://pub.dev/packages/build_runner using ferry, moor, freezed, json_serializable and injectable
targets:
$default:
sources:
exclude:
- "**/components/**"
- "**/exceptions/**"
- "test/**"
builders:
gql_build|schema_builder:
@mkiisoft
mkiisoft / main.c
Last active January 8, 2022 17:27
Game Boy Color Flutter ROM
/*
ROM: https://s3-us-west-2.amazonaws.com/s.cdpn.io/2399829/flutter.gb
*/
/*
LOGO.H
Include File.
@mkiisoft
mkiisoft / movies.json
Last active July 31, 2024 08:38 — forked from saniyusuf/Film.JSON
[
{
"Title": "Avatar",
"Year": "2009",
"Rated": "PG-13",
"Released": "18 Dec 2009",
"Runtime": "162 min",
"Genre": "Action, Adventure, Fantasy",
"Director": "James Cameron",
"Writer": "James Cameron",
@mkiisoft
mkiisoft / wave_clipper.dart
Last active April 11, 2020 20:53
Wave Clipper Creator by Mariano Zorrilla
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@mkiisoft
mkiisoft / contact.dart
Last active April 11, 2020 19:57
Contact Us design mimic UpLabs by Mariano Zorrilla
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@mkiisoft
mkiisoft / yeti.dart
Last active January 8, 2022 17:27
Flutter - Yeti by Mariano Zorrilla
import 'package:flutter/material.dart';
void main() {
runApp(YetiApp());
}
enum ArmAnim {
NORMAL,
HI,
HIDE,
@mkiisoft
mkiisoft / parallax.dart
Last active January 8, 2022 17:27
Flutter Web - Parallax Mouse Hover Effect
/*
MIT License
Copyright (c) 2020 Mariano Zorrilla
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is