Commit 4ff2a338 authored by Adam Barth's avatar Adam Barth

Merge pull request #3021 from abarth/selection_controls

Rename ToggleControlsDemo to SelectionControlsDemo
parents cb439fb1 42d87c41
......@@ -4,12 +4,12 @@
import 'package:flutter/material.dart';
class ToggleControlsDemo extends StatefulWidget {
class SelectionControlsDemo extends StatefulWidget {
@override
_ToggleControlsDemoState createState() => new _ToggleControlsDemoState();
_SelectionControlsDemoState createState() => new _SelectionControlsDemoState();
}
class _ToggleControlsDemoState extends State<ToggleControlsDemo> {
class _SelectionControlsDemoState extends State<SelectionControlsDemo> {
bool _checkboxValue = false;
int _radioValue = 0;
bool _switchValue = false;
......
......@@ -27,7 +27,7 @@ import '../demo/menu_demo.dart';
import '../demo/page_selector_demo.dart';
import '../demo/persistent_bottom_sheet_demo.dart';
import '../demo/progress_indicator_demo.dart';
import '../demo/toggle_controls_demo.dart';
import '../demo/selection_controls_demo.dart';
import '../demo/slider_demo.dart';
import '../demo/snack_bar_demo.dart';
import '../demo/scrollable_tabs_demo.dart';
......@@ -105,7 +105,7 @@ class GalleryHomeState extends State<GalleryHome> {
new GalleryItem(title: 'Persistent Bottom Sheet', builder: () => new PersistentBottomSheetDemo()),
new GalleryItem(title: 'Progress Indicators', builder: () => new ProgressIndicatorDemo()),
new GalleryItem(title: 'Scrollable Tabs', builder: () => new ScrollableTabsDemo()),
new GalleryItem(title: 'Selection Controls', builder: () => new ToggleControlsDemo()),
new GalleryItem(title: 'Selection Controls', builder: () => new SelectionControlsDemo()),
new GalleryItem(title: 'Sliders', builder: () => new SliderDemo()),
new GalleryItem(title: 'SnackBar', builder: () => new SnackBarDemo()),
new GalleryItem(title: 'Tabs', builder: () => new TabsDemo()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment