Skip to content

Instantly share code, notes, and snippets.

View jamescardona11's full-sized avatar
💭
Yes We Code!!

James Cardona jamescardona11

💭
Yes We Code!!
View GitHub Profile
@jamescardona11
jamescardona11 / logger.dart
Created May 23, 2023 13:53
Flutter Logger
import 'dart:developer' as developer;
const logger = ElevenLogger();
class ElevenLogger {
const ElevenLogger();
void i(String text, {String? tag, bool showTime = false}) {
_log(text, _LogStatusInfo());
}
@jamescardona11
jamescardona11 / solar-system.markdown
Last active July 6, 2020 20:42
Flutter: Solar System CodepenChallenge

Solar System

Everything is a widget in Flutter and there are so many awesome widgets available in Flutter but in this challenge, I decide used the power of Stack and CustomPainter.

A Pen by James Cardona on CodePen.

License.

//########### flpage: ###########
//# Create a new page to the application
//# add this config:
//# CLASS_NAME => fileNameWithoutExtension
import 'package:flutter/material.dart';
class $NAME$Page extends StatelessWidget {
//static const String pageRoute = '$CLASS_NAME$_route_id';