PNavigationBarBase class

Inheritance
Implementers

Constructors

PNavigationBarBase({Key key, @required Widget leading, @required List<Widget> actions, @required Widget title, @required PreferredSizeWidget androidBottom(), @required Color backgroundColor, @required String iosPreviousPageTitle, @required EdgeInsetsDirectional iosPadding, @required double androidElevation, @required Widget androidFlexibleSpace, @required bool androidCenterTitle, @required double androidTitleSpacing, @required Color iconColor, @required Object iosHeroTag, TextTheme textTheme, bool iosMirrorAndroid = true, TargetPlatform renderPlatform})

Properties

actions List<Widget>
The list of actions to apply here. The CupertinoNavigationBar only takes the first widget supplied here. See AppBar.actions See CupertinoNavigationBar.trailing
final
androidBottom PreferredSizeWidget
Android only-widget that appears at the bottom of the AppBar. A function since it may not be rendered. See AppBar.bottom
final
androidCenterTitle bool
See AppBar.centerTitle
final
androidElevation double
See AppBar.elevation
final
androidFlexibleSpace Widget
See AppBar.flexibleSpace
final
androidTitleSpacing double
See AppBar.titleSpacing
final
backgroundColor Color
final
hashCode int
The hash code for this object. [...]
@nonVirtual, read-only, inherited
iconColor Color
final
iosBackgroundColor Color
read-only
iosHeroTag Object
final
iosMirrorAndroid bool
if true, iOS will make background color and icon tint similar to android.
final
iosPadding EdgeInsetsDirectional
See CupertinoNavigationBar.padding
final
iosPreviousPageTitle String
See CupertinoNavigationBar.previousPageTitle
final
key Key
Controls how one widget replaces another widget in the tree. [...]
final, inherited
leading Widget
Leave null for default behavior on each platform. See CupertinoNavigationBar.leading See AppBar.leading
final
renderCupertino WidgetBuilder
Return the widget to construct for the TargetPlatform.iOS
read-only, inherited
renderFuchsia WidgetBuilder
Return the widget to construct for the TargetPlatform.fuschia. For now, this defaults to the material design components.
read-only, inherited
renderMaterial WidgetBuilder
Return the widget to construct for the TargetPlatform.android
read-only, inherited
renderPlatform TargetPlatform
Can specify a TargetPlatform on the fly on a per-widget basis. This is simpler than just wrapping a single widget in a PTheme widget.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
textTheme TextTheme
final
title Widget
On Android this is left-aligned. On iOS this is center-aligned. See CupertinoNavigationBar.middle See AppBar.title
final

Methods

applyIconColor(ThemeData theme) IconThemeData
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget. [...]
inherited
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree. [...]
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
getIosIconColor(BuildContext context) Color
getIOSTitle(BuildContext context) Widget
getPrimaryIOSAction() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toDiagnosticsNode({String name, DiagnosticsTreeStyle style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. [...]
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object. [...]
inherited
toStringDeep({String prefixLineOne = '', String prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants. [...]
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object. [...]
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
@nonVirtual, inherited