StoreBannerView class final
The view-model of the in-app Get banner (AC4): every URL and label the web/macOS banner renders. Built from a LinksConfig — the widget never hard-codes a store URL.
Constructors
- StoreBannerView({required String appstoreUrl, required String testflightUrl, required String? playUrl, required String siteUrl})
-
const
- StoreBannerView.from(LinksConfig links)
-
Resolves the banner for
links.factory
Properties
- androidComingSoon → bool
-
Whether the Android slot renders the localized coming-soon note
(surfaces pick their own localized string, not this getter's).
no setter
- androidLabel → String
-
The Android slot label: the Play CTA while live, the coming-soon
note while
links.playis unset.no setter - appstoreUrl → String
-
Where the primary CTA lands (the paid App Store release).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- playUrl → String?
-
The Google Play release; null while Android is not live — the
banner then renders "coming soon" for the Android mention.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- siteUrl → String
-
The product site link (the banner's "learn more" fallback).
final
- testflightUrl → String
-
The free-forever public beta link shown as the secondary line.
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