LaunchStyle class

Styling options for Launchify widgets to customize their visual appearance.

Provides a comprehensive set of properties to control colors, padding, typography, and structural elements like borders and height.

Constructors

LaunchStyle({Color? backgroundColor, Color? textColor, Color? iconColor, double? borderRadius, EdgeInsetsGeometry? padding, double? fontSize, FontWeight? fontWeight, double? height, double? iconWidth, double? iconHeight, BoxFit? iconFit, bool isOutlined = false, double? borderWidth, Color? borderColor})
Creates a LaunchStyle with customizable properties.
const
LaunchStyle.defaultActionButton(BuildContext context)
Factory constant for default styling of an ActionButton.
factory
LaunchStyle.defaultLinkRow(BuildContext context)
Factory constant for default styling of a LinkRow.
factory

Properties

backgroundColor Color?
The background color of the button or row.
final
borderColor Color?
The color of the border when isOutlined is true.
final
borderRadius double?
The border radius for rounded corners.
final
borderWidth double?
The width of the border when isOutlined is true.
final
fontSize double?
The font size of the text.
final
fontWeight FontWeight?
The font weight of the text.
final
hashCode int
The hash code for this object.
no setterinherited
height double?
The height of the widget (primarily used for ActionButton).
final
iconColor Color?
The color applied to the icon.
final
iconFit BoxFit?
How the icon/image should be inscribed into the box.
final
iconHeight double?
The height of the icon. If null, uses a size derived from fontSize.
final
iconWidth double?
The width of the icon. If null, uses a size derived from fontSize.
final
isOutlined bool
Whether the button should be rendered in an outlined style.
final
padding EdgeInsetsGeometry?
The internal padding for the widget.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color?
The text color of the label or visible text.
final

Methods

copyWith({Color? backgroundColor, Color? textColor, Color? iconColor, double? borderRadius, EdgeInsetsGeometry? padding, double? fontSize, FontWeight? fontWeight, double? height, double? iconWidth, double? iconHeight, BoxFit? iconFit, bool? isOutlined, double? borderWidth, Color? borderColor}) LaunchStyle
Creates a copy of this style but with the given fields replaced with new values.
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