-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Column & Row & Wrap流式布局 #48
Comments
Wrap 使用实例 Wrap(
/// 流式布局
spacing: 8.0,
/// 水平
runSpacing: 8.0,
/// 垂直
alignment: WrapAlignment.spaceAround,
children: [
RaisedButton(
onPressed: _handleClick,
child: Text('Container'),
textColor: Colors.black),
RaisedButton(
onPressed: _goToScaffold,
child: Text('Scaffold & TabBar'),
),
RaisedButton(
onPressed: _goToScaffold,
child: Text('Scaffold & TabBar'),
),
RaisedButton(
onPressed: _goToScaffold,
child: Text('Scaffold & TabBar'),
)
],
) |
Column({
children: children,
key: key,
direction: Axis.vertical,
mainAxisAlignment: mainAxisAlignment,
mainAxisSize: mainAxisSize,
crossAxisAlignment: crossAxisAlignment,
textDirection: textDirection,
verticalDirection: verticalDirection,
textBaseline: textBaseline,
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在使用
Row
布局时会出现,内容过长溢出报错,进而使用Wrap
布局The text was updated successfully, but these errors were encountered: