Skip to content

Instantly share code, notes, and snippets.


Luc Wollants LucWollants

View GitHub Profile
View Nested OR
->from('users u')
LucWollants / divider.dart
Created Apr 17, 2017
Simple example to show the invisible divider.
View divider.dart
import 'package:flutter/material.dart';
void main() {
runApp(new MaterialApp(
title: 'divider',
home: new ExpandedWidget(),
class ExpandedWidget extends StatelessWidget {
LucWollants / horizontal_sliding_page_route.dart
Created Apr 17, 2017
Class to slide a route horizontal from right to left.
View horizontal_sliding_page_route.dart
class HorizontalSlidingPageRoute<T> extends MaterialPageRoute<T> {
WidgetBuilder builder,
RouteSettings settings: const RouteSettings(),
maintainState: true,
: super(builder: builder, settings: settings, maintainState: maintainState);
Widget buildTransitions(BuildContext context, Animation<double> animation,
You can’t perform that action at this time.