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
2e4fb21a
Commit
2e4fb21a
authored
Mar 10, 2016
by
Quddus Chong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api docs: Add descriptions for Scafold, Theme, and ThemeData classes.
parent
0e675be6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
scaffold.dart
packages/flutter/lib/src/material/scaffold.dart
+5
-0
theme.dart
packages/flutter/lib/src/material/theme.dart
+2
-0
theme_data.dart
packages/flutter/lib/src/material/theme_data.dart
+3
-0
No files found.
packages/flutter/lib/src/material/scaffold.dart
View file @
2e4fb21a
...
...
@@ -175,6 +175,11 @@ class _FloatingActionButtonTransitionState extends State<_FloatingActionButtonTr
}
}
/// Implements the basic material design visual layout structure.
///
/// This class provides APIs for showing drawers, snackbars, and bottom sheets.
///
/// See: <https://www.google.com/design/spec/layout/structure.html>
class
Scaffold
extends
StatefulComponent
{
Scaffold
({
Key
key
,
...
...
packages/flutter/lib/src/material/theme.dart
View file @
2e4fb21a
...
...
@@ -10,6 +10,7 @@ export 'theme_data.dart' show ThemeData, ThemeBrightness;
const
kThemeAnimationDuration
=
const
Duration
(
milliseconds:
200
);
/// Applies a theme to descendant widgets.
class
Theme
extends
InheritedWidget
{
Theme
({
Key
key
,
...
...
@@ -20,6 +21,7 @@ class Theme extends InheritedWidget {
assert
(
data
!=
null
);
}
/// Specifies the color and typography values for descendant widgets.
final
ThemeData
data
;
static
final
ThemeData
_kFallbackTheme
=
new
ThemeData
.
fallback
();
...
...
packages/flutter/lib/src/material/theme_data.dart
View file @
2e4fb21a
...
...
@@ -27,6 +27,9 @@ const Color _kLightThemeSplashColor = const Color(0x66C8C8C8);
const
Color
_kDarkThemeHighlightColor
=
const
Color
(
0x40CCCCCC
);
const
Color
_kDarkThemeSplashColor
=
const
Color
(
0x40CCCCCC
);
/// Holds the color and typography values for a material design theme.
///
/// Use this class to configure a [Theme] widget.
class
ThemeData
{
ThemeData
.
raw
({
...
...
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