spline_viewer 0.0.1 copy "spline_viewer: ^0.0.1" to clipboard
spline_viewer: ^0.0.1 copied to clipboard

A tool to integrate Spline Views

Installing #

dependencies:
  spline_viewer: ^0.0.1

Android #

Make sure to add this line android:usesCleartextTraffic="true" in your <project-directory>/android/app/src/main/AndroidManifest.xml under application like this.

<application
       android:usesCleartextTraffic="true">
</application>

Required Permissions are:

    <uses-permission android:name="android.permission.INTERNET" />

iOS #

Add following code in your <project-directory>/ios/Runner/Info.plist

<key>NSAppTransportSecurity</key>
  <dict>
    <key>NSAllowsArbitraryLoads</key> <true/>
  </dict>

Usage

SplineViewer(
    moduleUrl: "url to your spline module",
    splineViewerUrl: "spline viewer Url",
    cameraHint: true,
    loadingAnimType:
    LoadingSpinner.bigLight,
    altText: "Explanation of your Spline Animation",
    styleCss: "width: 100%; height: 100%;",
),
2
likes
140
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A tool to integrate Spline Views

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, webview_flutter_plus

More

Packages that depend on spline_viewer