Center
Centers its child in the available space.
Learn more: Layout
Import: package:fleury/fleury.dart, or package:fleury/fleury_core.dart in browser code.
Center(child: Text('No results'))Details
Section titled “Details”Shorthand for Align(alignment: Alignment.center, child: …).
Constructors
Section titled “Constructors”Center()
Section titled “Center()”| Parameter | Type | Default | Description |
|---|---|---|---|
child: | Widget | required | The widget below this widget in the tree. |
Source
Section titled “Source”Center is defined in packages/fleury/lib/src/widgets/align.dart.
Category: Layout · All widgets