FlutterAlignment class
- Implemented types
- Annotations
Constructors
- FlutterAlignment(double x, double y)
-
factory
- FlutterAlignment.bottomCenter()
-
factory
- FlutterAlignment.bottomLeft()
-
factory
- FlutterAlignment.bottomRight()
-
factory
- FlutterAlignment.center()
-
factory
- FlutterAlignment.centerLeft()
-
factory
- FlutterAlignment.centerRight()
-
factory
-
FlutterAlignment.fromJson(Map<
String, dynamic> json) -
factory
- FlutterAlignment.topCenter()
-
factory
- FlutterAlignment.topLeft()
-
factory
- FlutterAlignment.topRight()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_FlutterAlignment value), {required TResult bottomCenter(_FlutterAlignmentbottomCenter value), required TResult bottomLeft(_FlutterAlignmentbottomLeft value), required TResult bottomRight(_FlutterAlignmentbottomRight value), required TResult center(_FlutterAlignmentcenter value), required TResult centerLeft(_FlutterAlignmentcenterLeft value), required TResult centerRight(_FlutterAlignmentcenterRight value), required TResult topCenter(_FlutterAlignmenttopCenter value), required TResult topLeft(_FlutterAlignmenttopLeft value), required TResult topRight(_FlutterAlignmenttopRight value)}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFlutter(
AnyWidgetContext context) → Alignment -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- unionValue → const String
- unionValueBottomCenter → const String
- unionValueBottomLeft → const String
- unionValueBottomRight → const String
- unionValueCenter → const String
- unionValueCenterLeft → const String
- unionValueCenterRight → const String
- unionValueTopCenter → const String
- unionValueTopLeft → const String
- unionValueTopRight → const String