FeedbackThemeData class
See the following image to get a better understanding of the properties.
Constructors
-
FeedbackThemeData({Color background = Colors.grey, Color feedbackSheetColor = _lightGrey, double feedbackSheetHeight = .25, Color activeFeedbackModeColor = _blue, Color cardColor = _lightGrey, Color inactiveColor = Colors.grey, Color textColor = Colors.black, List<
Color> drawColors = _defaultDrawColors, TextStyle bottomSheetDescriptionStyle = _defaultBottomSheetDescriptionStyle, TextStyle bottomSheetTextInputStyle = _defaultBottomSheetTextInputStyle, bool sheetIsDraggable = true, Color? dragHandleColor}) - Creates a FeedbackThemeData.
- FeedbackThemeData.dark({bool sheetIsDraggable = true})
-
Create a dark version of the FeedbackThemeData
factory
- FeedbackThemeData.light({bool sheetIsDraggable = true})
-
Create a light version of the FeedbackThemeData
factory
Properties
- activeFeedbackModeColor → Color
-
The color to highlight the currently selected feedback mode.
final
- background → Color
-
The background of the feedback view.
final
- bottomSheetDescriptionStyle → TextStyle
-
Text Style of the text above of the feedback text input.
final
- bottomSheetTextInputStyle → TextStyle
-
Text Style of the text input.
final
- brightness → Brightness
-
Brightness of the theme based on the background color
final
- cardColor → Color
-
The color of the card in the feedback view.
final
- dragHandleColor ↔ Color
-
Color of the drag handle on the feedback sheet
latefinal
-
drawColors
→ List<
Color> -
Colors which can be used to draw while in feedback mode.
final
- feedbackSheetColor → Color
-
The background color of the bottom sheet in which the user can input
his feedback and thoughts.
final
- feedbackSheetHeight → double
-
The height of the bottom sheet as a fraction of the screen height.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveColor → Color
-
The color of the inactive elements in the feedback view.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sheetIsDraggable → bool
-
Whether or not the bottom sheet is draggable.
final
- textColor → Color
-
The color of the text in the feedback view.
final
- themeData ↔ ThemeData
-
ThemeData on the feedback UI
latefinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited