TemplateThemeData class
An immutable theme for showcase projects
Constructors
- TemplateThemeData({Brightness? brightness, FlutterLogoColor? flutterLogoColor, TextStyle? titleTextStyle, TextStyle? descriptionTextStyle, Color? backgroundColor, ButtonThemeData? buttonTheme, FrameThemeData? frameTheme, TextStyle? buttonTextStyle, IconThemeData? buttonIconTheme})
-
factory
- TemplateThemeData.raw({required FlutterLogoColor flutterLogoColor, required TextStyle titleTextStyle, required TextStyle descriptionTextStyle, required Color backgroundColor, required ButtonThemeData buttonTheme, required Brightness brightness, required FrameThemeData frameTheme, required TextStyle buttonTextStyle, required IconThemeData buttonIconTheme})
Properties
- backgroundColor → Color
-
Background color of the showcase page
final
- brightness → Brightness
-
Describes the contrast of the showcase page.
final
-
final
-
final
-
Defines button theme for the clickable share links
final
- descriptionTextStyle → TextStyle
-
Defines text style for the description text
final
- flutterLogoColor → FlutterLogoColor
-
Defines Flutter logo appearance
Options: .original, .white, .dark
final
- frameTheme → FrameThemeData
-
Defines the theme of the device frame
that wraps the app
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleTextStyle → TextStyle
-
Defines text style for the title
final
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
Static Methods
-
black(
) → TemplateThemeData -
dark(
) → TemplateThemeData -
light(
) → TemplateThemeData