Skip to content

Instantly share code, notes, and snippets.

Luc Wollants LucWollants

Block or report user

Report or block LucWollants

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@LucWollants
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> {
HorizontalSlidingPageRoute({
WidgetBuilder builder,
RouteSettings settings: const RouteSettings(),
maintainState: true,
})
: super(builder: builder, settings: settings, maintainState: maintainState);
@override
Widget buildTransitions(BuildContext context, Animation<double> animation,
@LucWollants
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 {
View Nested OR
->select('*')
->from('users u')
->where(
[
'is_admin'=>true
]
)
->andWhere(
[
'OR',
You can’t perform that action at this time.