Skip to content

Instantly share code, notes, and snippets.

View LOG-TAG's full-sized avatar

Subrahmanya S M LOG-TAG

View GitHub Profile
@LOG-TAG
LOG-TAG / main.dart
Created May 12, 2021 15:26
main.dart
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
const kMainColor = Color(0xFF573851);
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
const kMainColor = Color(0xFF573851);
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
@LOG-TAG
LOG-TAG / main.dart
Last active November 24, 2020 20:02
chip
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@LOG-TAG
LOG-TAG / responce body.html
Created July 27, 2020 17:59
CF responce 200 status code
This file has been truncated, but you can view the full file.
<!doctype html><html lang="en" dir="ltr"><head><base href="https://accounts.google.com/"><script data-id="_gd" nonce="fxjVnbTJVhESQdvvpLm17g">window.WIZ_global_data = {"Mo6CHc":-8277414136662441186,"OewCAd":"%.@.\"xsrf\",null,[\"\"]\n,\"AFoagUW-rCDyx6MMS09RptZ6J887Kk-gBg:1595872387393\"]\n","Qzxixc":"S806032135:1595872387381520","thykhd":"AKH95esikMIXRwITPdmMQhgxj8QrvrQBDopoUqmTcQBeYd1OKduPZNRY0lrv7PiCP0_Y0xtBWu2wcUg9BJ39FFehbgIPXAGJrmrpTBujH_CwlC3Y-aE\u003d","w2btAe":"%.@.null,null,\"\",false,null,null,true,false]\n"};</script><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><link rel="shortcut icon" href="//www.google.com/favicon.ico"/><noscript><meta http-equiv="refresh" content="0; url=https://accounts.google.com/ServiceLogin?continue=https%3A%2F%2Fuc.appengine.google.com%2F_ah%2Fconflogin%3Fcontinue%3Dhttps%3A%2F%2Fus-central1-hype-54c03.cloudfunctions.net%2Frequeststairport&amp;rip=1&amp;nojavascript=1&amp;service=ah"><style nonce="fxjVnbTJVhESQdvvpLm17g">body{opacity:0;}</st
import 'package:flutter/foundation.dart';
import 'dart:io';
bool get isWeb => kIsWeb;
bool get isMobile => !isWeb && (Platform.isIOS || Platform.isAndroid);
bool get isDesktop =>
!isWeb && (Platform.isMacOS || Platform.isWindows || Platform.isLinux);
bool get isApple => !isWeb && (Platform.isIOS || Platform.isMacOS);
bool get isGoogle => !isWeb && (Platform.isAndroid || Platform.isFuchsia);
import 'package:flutter/material.dart';
void main() async {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
State<StatefulWidget> createState() => _MyAppState();
}
@LOG-TAG
LOG-TAG / DraggableScrollableSheet.dart
Created April 27, 2020 04:17
DraggableScrollableSheet
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
@LOG-TAG
LOG-TAG / main.dart
Created April 24, 2020 12:57 — forked from PeterHdd/main.dart
article
import 'package:firebase_database/firebase_database.dart';
import 'package:firebase_test/home.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
@LOG-TAG
LOG-TAG / main.dart
Created April 24, 2020 12:57 — forked from PeterHdd/main.dart
article
import 'package:firebase_database/firebase_database.dart';
import 'package:firebase_test/home.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
import 'package:firebase_messaging/firebase_messaging.dart';
class PushNotificationsManager {
PushNotificationsManager._();
factory PushNotificationsManager() => _instance;
static final PushNotificationsManager _instance = PushNotificationsManager._();