Skip to content

Instantly share code, notes, and snippets.

View muncman's full-sized avatar

Kevin Munc muncman

View GitHub Profile
@muncman
muncman / date_picker.dart
Last active May 18, 2020 20:15 — forked from jmolins/date_picker.dart
Add Material date picker, time picker, and Cupertino date-time picker to a flutter app.
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
/* R O U N D E D C O R N E R S */
/* TODO: test differing KHTML formats across platforms. */
/* TODO: get version specifics for Opera options. */
.round_all {
-opera-border-radius: 5px;
-o-border-radius: 5px;
-khtml-border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;