FlexWrapper クラス
固定された軸方向で複数の子要素を一列に配置するウィジェットの基底型です。
名前空間: FloatSoda.Widgets.Layout
アセンブリ: FloatSoda.dll
public abstract record FlexWrapper : StatelessWidget, IEquatable<Widget>, IEquatable<StatelessWidget>, IEquatable<FlexWrapper>object ← Widget ← StatelessWidget ← FlexWrapper
実装するインターフェイス
Section titled “実装するインターフェイス”IEquatable<Widget>, IEquatable<StatelessWidget>, IEquatable<FlexWrapper>
継承したメンバー
Section titled “継承したメンバー”StatelessWidget.CreateElement(), StatelessWidget.Build(IBuildContext), Widget.Key, Widget.CanUpdate(Widget, Widget), Widget.CreateElement(), Widget.GetHashCode(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
コンストラクター
Section titled “コンストラクター”FlexWrapper(Axis)
Section titled “FlexWrapper(Axis)”固定された軸方向で複数の子要素を一列に配置するウィジェットの基底型です。
protected FlexWrapper(Axis Direction)パラメーター
Section titled “パラメーター”Direction Axis
子要素を並べる主軸の方向。
Children
Section titled “Children”主軸に沿って配置する子ウィジェットの一覧を取得します。
public List<Widget> Children { get; init; }プロパティの値
Section titled “プロパティの値”CrossAxisAlignment
Section titled “CrossAxisAlignment”交差軸方向における子要素の配置方法を取得します。
public CrossAxisAlignment CrossAxisAlignment { get; init; }プロパティの値
Section titled “プロパティの値”Direction
Section titled “Direction”子要素を並べる主軸の方向。
public Axis Direction { get; init; }プロパティの値
Section titled “プロパティの値”MainAxisAlignment
Section titled “MainAxisAlignment”主軸方向における子要素の配置方法を取得します。
public MainAxisAlignment MainAxisAlignment { get; init; }プロパティの値
Section titled “プロパティの値”MainAxisSize
Section titled “MainAxisSize”主軸方向に確保する領域の大きさを取得します。
public MainAxisSize MainAxisSize { get; init; }プロパティの値
Section titled “プロパティの値”Build(IBuildContext)
Section titled “Build(IBuildContext)”固定された軸方向と現在の配置設定を使用する子ウィジェットを構築します。
public override Widget Build(IBuildContext context)パラメーター
Section titled “パラメーター”context IBuildContext
このウィジェットが配置されている構築コンテキスト。
現在の子要素と配置設定を保持するFlex。