FluttermojiThemeData class
Defines the configuration of the overall visual theme
for a FluttermojiCustomizer
and the widgets within it.
The FluttermojiCustomizer's theme
property can be used to configure the appearance
of the entire widget.
You can set the attributes of this class to make the customizer look more in line with your app's own theme and style.
See more:
- FluttermojiThemeData.standard which is applied by default to the widgets.
Constructors
- FluttermojiThemeData({TextStyle? labelTextStyle, Color? primaryBgColor, Color? secondaryBgColor, Decoration? selectedTileDecoration, Decoration? unselectedTileDecoration, Color? iconColor, Color? selectedIconColor, Color? unselectedIconColor, Decoration? boxDecoration, ScrollPhysics? scrollPhysics, EdgeInsetsGeometry? tilePadding, EdgeInsetsGeometry? tileMargin})
-
Creates a visual
theme
for the FluttermojiCustomizer and the widgets within it.
Properties
- boxDecoration → Decoration
-
Box decoration style of the FluttermojiCustomizer
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconColor → Color
-
Customize the color of the default
save button in
FluttermojiSaveButton
final - labelTextStyle → TextStyle
-
Customize the style of the attributes' titles at the top
of the FluttermojiCustomizer
final
- primaryBgColor → Color
-
Background color of the top and bottom rows of the FluttermojiCustomizer
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollPhysics → ScrollPhysics
-
Define the scroll behaviour of all scrollabes inside
the FluttermojiCustomizer
final
- secondaryBgColor → Color
-
Background color of the grid area of the FluttermojiCustomizer
final
- selectedIconColor → Color
-
Color of a selected icon in the bottom row of FluttermojiCustomizer
final
- selectedTileDecoration → Decoration
-
Box decoration style of a selected tile in a grid of FluttermojiCustomizer
final
- tileMargin → EdgeInsetsGeometry
-
Margin outside each tile in the grids of the FluttermojiCustomizer
final
- tilePadding → EdgeInsetsGeometry
-
Padding inside each tile in the grids of the FluttermojiCustomizer
final
- unselectedIconColor → Color
-
Color of an unselected icon in the bottom row of FluttermojiCustomizer
final
- unselectedTileDecoration → Decoration?
-
Box decoration style of an uselected tile in a grid of FluttermojiCustomizer
final
Methods
-
copyWith(
{TextStyle? labelTextStyle, Color? primaryBgColor, Color? secondaryBgColor, Decoration? selectedTileDecoration, Decoration? unselectedTileDecoration, Color? iconColor, Color? selectedIconColor, Decoration? boxDecoration, ScrollPhysics? scrollPhysics, EdgeInsetsGeometry? tilePadding, EdgeInsetsGeometry? tileMargin}) → FluttermojiThemeData -
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
Static Properties
- standard ↔ FluttermojiThemeData
-
getter/setter pair