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