BannerStyle class

Constructors

BannerStyle({bool? isImage, String? bannerImagePath, double? bannerImageWidth, double? bannerImageHeight, String? bannerSvgPath, double? bannerSvgWidth, double? bannerSvgHeight, Color? svgBannerColor})
BannerStyle.defaults({required bool isDark})
factory
BannerStyle.downloadFonts({required bool isDark, required BuildContext context})
factory
BannerStyle.textScale({required bool isDark})
factory

Properties

bannerImageHeight → double?
bannerImageHeight if you wanna add the height for the banner image
final
bannerImagePath → String?
bannerImagePath if you wanna add banner as image you can provide the path
final
bannerImageWidth → double?
bannerImageWidth if you wanna add the width for the banner image
final
bannerSvgHeight → double?
bannerSvgHeight if you wanna add the height for the banner svg
final
bannerSvgPath → String?
bannerSvgPath if you wanna add banner as svg you can provide the path
final
bannerSvgWidth → double?
bannerSvgWidth if you wanna add the width for the banner svg
final
hashCode → int
The hash code for this object.
no setterinherited
isImage → bool?
isImage if you wanna add banner as svg you can set it to true
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
svgBannerColor → Color?
svgBannerColor if you wanna change the color for the banner svg
final

Methods

copyWith({String? bannerImagePath, double? bannerImageWidth, double? bannerImageHeight, bool? isImage, String? bannerSvgPath, double? bannerSvgWidth, double? bannerSvgHeight, Color? svgBannerColor}) → BannerStyle
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