Skip to content

Instantly share code, notes, and snippets.

View Uhelliton's full-sized avatar

Uhelliton Uhelliton

  • MegaWhat ⚡ ⚡ ⚡
  • São Paulo, São Paulo, Brasil
View GitHub Profile
@kleinlennart
kleinlennart / drawer_icon.dart
Created May 24, 2018 15:01
Flutter Custom Drawer Icon (use keys)
class _HomePageState extends State<HomePage> {
final GlobalKey<ScaffoldState> _scaffoldKey = new GlobalKey<ScaffoldState>();
@override
Widget build(BuildContext context) {
return new Scaffold(
key: _scaffoldKey,
appBar: new AppBar(
title: new Text("App"),
leading: new IconButton(
@vinicius73
vinicius73 / an-component.vue
Created October 1, 2016 18:41
Helpers to filter collections
<script>
// an component
import { orderBy, isEmpty } from 'lodash';
import filterByName from '../helpers/filters/by-name';
// omit
computed: {
listOrdened() {
const { orderBy as by, order } = this.configs;