Skip to content

Instantly share code, notes, and snippets.

View mandrewstuart's full-sized avatar

Andrew Matte mandrewstuart

  • Toronto, Canada
View GitHub Profile
const hashmap = (n) => {
const self = this;
self.list = [[]];
self.has = (e) => {
if (self.list.length >= index + 1) {
return self.list[index].indexOf(e) >= 0;
} else {
return false;
}
};
@trey-rosius
trey-rosius / CustomTabBar.dart
Created March 12, 2019 11:06
Customized Tab Bar for Login,Sign Up and Forgot Password
import 'package:flutter/material.dart';
void main() {
runApp(HomePage());
}
class HomePage extends StatefulWidget {
@override
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//