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
ca6a06e2
Unverified
Commit
ca6a06e2
authored
Sep 04, 2021
by
creativecreatorormaybenot
Committed by
GitHub
Sep 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RadioThemeData documentation issues (#89064)
parent
2604ea71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
radio_theme.dart
packages/flutter/lib/src/material/radio_theme.dart
+18
-6
No files found.
packages/flutter/lib/src/material/radio_theme.dart
View file @
ca6a06e2
...
...
@@ -30,6 +30,8 @@ import 'theme_data.dart';
///
/// * [ThemeData], which describes the overall theme information for the
/// application.
/// * [RadioTheme], which is used by descendants to obtain the
/// [RadioThemeData].
@immutable
class
RadioThemeData
with
Diagnosticable
{
/// Creates a theme that can be used for [ThemeData.radioTheme].
...
...
@@ -44,33 +46,43 @@ class RadioThemeData with Diagnosticable {
/// {@macro flutter.material.radio.mouseCursor}
///
/// If specified, overrides the default value of [Radio.mouseCursor].
/// If specified, overrides the default value of [Radio.mouseCursor]. The
/// default value is [MaterialStateMouseCursor.clickable].
final
MaterialStateProperty
<
MouseCursor
?>?
mouseCursor
;
/// {@macro flutter.material.radio.fillColor}
///
/// If specified, overrides the default value of [Radio.fillColor].
/// If specified, overrides the default value of [Radio.fillColor]. The
/// default value is the value of [ThemeData.disabledColor] in the disabled
/// state, [ThemeData.toggleableActiveColor] in the selected state, and
/// [ThemeData.unselectedWidgetColor] in the default state.
final
MaterialStateProperty
<
Color
?>?
fillColor
;
/// {@macro flutter.material.radio.overlayColor}
///
/// If specified, overrides the default value of [Radio.overlayColor].
/// If specified, overrides the default value of [Radio.overlayColor]. The
/// default value is [ThemeData.toggleableActiveColor] with alpha
/// [kRadialReactionAlpha], [ThemeData.focusColor] and [ThemeData.hoverColor]
/// in the pressed, focused, and hovered state.
final
MaterialStateProperty
<
Color
?>?
overlayColor
;
/// {@macro flutter.material.radio.splashRadius}
///
/// If specified, overrides the default value of [Radio.splashRadius].
/// If specified, overrides the default value of [Radio.splashRadius]. The
/// default value is [kRadialReactionRadius].
final
double
?
splashRadius
;
/// {@macro flutter.material.radio.materialTapTargetSize}
///
/// If specified, overrides the default value of
/// [Radio.materialTapTargetSize].
/// [Radio.materialTapTargetSize]. The default value is the value of
/// [ThemeData.materialTapTargetSize].
final
MaterialTapTargetSize
?
materialTapTargetSize
;
/// {@macro flutter.material.radio.visualDensity}
///
/// If specified, overrides the default value of [Radio.visualDensity].
/// If specified, overrides the default value of [Radio.visualDensity]. The
/// default value is the value of [ThemeData.visualDensity].
final
VisualDensity
?
visualDensity
;
/// Creates a copy of this object but with the given fields replaced with the
...
...
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