UserTileThemeData class
A style that overrides the default appearance of UserBar
and
CommentItem
widgets when used with UserTileTheme or with the overall
PensilTheme's PensilThemeData.userTileTheme.
See also:
- UserTileTheme, the theme which is configured with this class.
- PensilThemeData.userTileTheme, which can be used to override
the default style for
UserBar
andCommentItem
widgets below the overall PensilTheme.
- Mixed in types
Constructors
- UserTileThemeData({TextStyle? timestampTextStyle, TextStyle? usernameTextStyle, double? avatarSize})
-
Builds a UserTileThemeData.
const
Properties
- avatarSize → double?
-
The size of the avatar.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestampTextStyle → TextStyle?
-
The text style for the timestamp.
final
- usernameTextStyle → TextStyle?
-
The text style for the username.
final
Methods
-
copyWith(
{TextStyle? timestampTextStyle, TextStyle? usernameTextStyle, double? avatarSize}) → UserTileThemeData - Creates a copy of this theme, but with the given fields replaced with the new values.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
lerp(
UserTileThemeData a, UserTileThemeData b, double t) → UserTileThemeData - Linearly interpolates between two UserTileThemeData.
-
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.
override