mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-11-01 20:19:39 +08:00
chore(flutter): update layout example (#10694) cf7006283c
Co-authored-by: Lance Snider <lance@lancesnider.com>
This commit is contained in:
Binary file not shown.
@ -28,6 +28,7 @@ class _ExampleResponsiveLayoutsState extends State<ExampleResponsiveLayouts> {
|
||||
Widget build(BuildContext context) {
|
||||
return RiveWidgetBuilder(
|
||||
fileLoader: fileLoader,
|
||||
dataBind: DataBind.auto(),
|
||||
builder: (context, state) => switch (state) {
|
||||
RiveLoading() => const Center(
|
||||
child: Center(child: CircularProgressIndicator()),
|
||||
|
||||
Reference in New Issue
Block a user