SocialCardDimensions class
Standard social media card dimensions.
Constructors
- SocialCardDimensions({required int width, required int height, String name = 'custom'})
-
const
Properties
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
Constants
- openGraph → const SocialCardDimensions
- Standard Open Graph image (Facebook, LinkedIn, Discord): 1200 x 630 px.
- square → const SocialCardDimensions
- Square card (Instagram / Twitter small): 600 x 600 px.
- twitterLarge → const SocialCardDimensions
- Twitter / X Summary Large Image: 1200 x 628 px.