Remove extraneous gallery demo imports (#7002)

This commit is contained in:
Hans Muller
2016-11-23 11:08:06 -08:00
committed by GitHub
parent e3d0544954
commit 2398cd9acc
9 changed files with 2 additions and 12 deletions

View File

@@ -146,8 +146,7 @@ class _ButtonsDemoState extends State<ButtonsDemo> {
value: dropdown1Value,
onChanged: (String newValue) {
setState(() {
if (newValue != null)
dropdown1Value = newValue;
dropdown1Value = newValue;
});
},
items: <String>[
@@ -172,8 +171,7 @@ class _ButtonsDemoState extends State<ButtonsDemo> {
value: dropdown2Value,
onChanged: (String newValue) {
setState(() {
if (newValue != null)
dropdown2Value = newValue;
dropdown2Value = newValue;
});
},
items: <String>['One', 'Two', 'Free', 'Four'].map((String value) {

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
class TravelDestination {
const TravelDestination({ this.assetName, this.title, this.description });

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
const double kColorItemHeight = 48.0;

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'full_screen_dialog_demo.dart';

View File

@@ -4,7 +4,6 @@
import 'package:intl/intl.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
// This demo is based on
// https://material.google.com/components/dialogs.html#dialogs-full-screen-dialogs

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
enum GridDemoTileStyle {
imageOnly,

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
const String _text1 =
"Snackbars provide lightweight feedback about an operation by "

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
class TextStyleItem extends StatelessWidget {
TextStyleItem({ Key key, this.name, this.style, this.text }) : super(key: key) {

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'drawer.dart';
import 'item.dart';