Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
4ff2a338
Commit
4ff2a338
authored
Mar 31, 2016
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3021 from abarth/selection_controls
Rename ToggleControlsDemo to SelectionControlsDemo
parents
cb439fb1
42d87c41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
selection_controls_demo.dart
...es/material_gallery/lib/demo/selection_controls_demo.dart
+3
-3
home.dart
examples/material_gallery/lib/gallery/home.dart
+2
-2
No files found.
examples/material_gallery/lib/demo/
toggle
_controls_demo.dart
→
examples/material_gallery/lib/demo/
selection
_controls_demo.dart
View file @
4ff2a338
...
...
@@ -4,12 +4,12 @@
import
'package:flutter/material.dart'
;
class
Toggle
ControlsDemo
extends
StatefulWidget
{
class
Selection
ControlsDemo
extends
StatefulWidget
{
@override
_
ToggleControlsDemoState
createState
()
=>
new
_Toggle
ControlsDemoState
();
_
SelectionControlsDemoState
createState
()
=>
new
_Selection
ControlsDemoState
();
}
class
_
ToggleControlsDemoState
extends
State
<
Toggle
ControlsDemo
>
{
class
_
SelectionControlsDemoState
extends
State
<
Selection
ControlsDemo
>
{
bool
_checkboxValue
=
false
;
int
_radioValue
=
0
;
bool
_switchValue
=
false
;
...
...
examples/material_gallery/lib/gallery/home.dart
View file @
4ff2a338
...
...
@@ -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
Toggle
ControlsDemo
()),
new
GalleryItem
(
title:
'Selection Controls'
,
builder:
()
=>
new
Selection
ControlsDemo
()),
new
GalleryItem
(
title:
'Sliders'
,
builder:
()
=>
new
SliderDemo
()),
new
GalleryItem
(
title:
'SnackBar'
,
builder:
()
=>
new
SnackBarDemo
()),
new
GalleryItem
(
title:
'Tabs'
,
builder:
()
=>
new
TabsDemo
()),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment