PensilThemeData class

Defines the configuration of the overall visual PensilTheme for a particular widget subtree.

Mixed in types

Constructors

PensilThemeData({Brightness? brightness, IconThemeData? primaryIconTheme, UserTileThemeData? userTileTheme, GalleryHeaderThemeData? galleryHeaderTheme, MarkdownThemeData? markdownTheme})
Builds a PensilThemeData with default values, if none are given.
factory
PensilThemeData.dark()
A default dark theme.
factory
PensilThemeData.light()
A default light theme.
factory
PensilThemeData.raw({required Brightness brightness, required IconThemeData primaryIconTheme, required UserTileThemeData userTileTheme, required GalleryHeaderThemeData galleryHeaderTheme, required MarkdownThemeData markdownTheme})
Raw PensilThemeData initialization.
const

Properties

brightness Brightness
The Brightness of this theme.
final
galleryHeaderTheme GalleryHeaderThemeData
A style that overrides the default appearance of GalleryHeaders when used with GalleryHeaderTheme or with the overall PensilTheme's StreamFeedThemeData.galleryHeaderTheme.
final
hashCode int
The hash code for this object.
no setterinherited
markdownTheme → MarkdownThemeData
final
primaryIconTheme IconThemeData
The primary icon theme
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userTileTheme UserTileThemeData
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited