OudsTopAppBarConfig class

A configuration object for Material-specific properties.

Example usage:

Scaffold(
  appBar: OudsTopBar(
    title: "Profile",
    size: OudsTopBarSize.large,
    materialConfig: const OudsTopAppBarConfig(
      centerTitle: true,
      expandedHeight: 200.0,
      titleMaxLines: 2,
      showAvatar: true,
    ),
  ),
)

Constructors

OudsTopAppBarConfig({bool centerTitle = false, double? expandedHeight, int titleMaxLines = 1, bool showAvatar = false})
const

Properties

centerTitle bool
final
expandedHeight double?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAvatar bool
final
titleMaxLines int
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