v0.0.2animated_loading_border
एक पैकेज जो हमें अपने विजेट को लोड करते समय एनीमेटेड बॉर्डर को एक प्लेसहोल्डर के रूप में दिखाने का आधुनिक तरीका प्रदान करता है, आसान कस्टमाइजेशन और तैयार उपयोग के लिए।
एक पैकेज जो हमें अपने विजेट को लोड करते समय एनीमेटेड बॉर्डर को एक प्लेसहोल्डर के रूप में दिखाने का आधुनिक तरीका प्रदान करता है, आसान कस्टमाइजेशन और तैयार उपयोग के लिए।
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Flutter Website Dart Website https://img.shields.io/badge/platform-Android-deepskyblue https://img.shields.io/badge/platform-iOS-deepskyblue https://img.shields.io/badge/platform-Web-deepskyblue https://img.shields.io/badge/platform-Mac-deepskyblue https://img.shields.io/badge/platform-Linux-deepskyblue https://img.shields.io/badge/platform-Windows-deepskyblue https://app.codacy.com/project/badge/Grade/dc683c9cc61b499fa7cdbf54e4d9ff35 https://img.shields.io/github/license/mohit-chauhan-98/animated_loading_border https://img.shields.io/pub/v/animated_loading_border?color=as&label=animated_loading_border&logo=as1&logoColor=blue&style=social MIT License
animated_loading_border animated_loading_border
Import it to your project file
import 'package:animated_loading_border/animated_loading_border.dart';
And add it in its most basic form like it:
AnimatedLoadingBorder(
child: Container(),
controller: (animationController) {
// Here we get animationController
},
);
| Parameter | Description |
|---|---|
| Widget child | The child contained by the AnimatedLoadingBorder |
| Parameter | Default | Description |
|---|---|---|
| ValueChanged? controller | -- | Callback that gives the AnimationController of the AnimatedLoadingBorder |
| Duration duration | Duration(seconds: 4) | Defines the animation duration |
| double cornerRadius | 0.0 | Defines the corner radius of the border |
| double borderWidth | 1 | Defines the width of the border |
| Color borderColor | Colors.black | Defines the color of the border |
| Color trailingBorderColor | Colors.black | Defines the color for the trailing part of the border |
| EdgeInsets padding | EdgeInsets.zero | Used to add child widget padding |
| bool startWithRandomPosition | true | Used to set starting position of SweepGradient |
| bool isTrailingTransparent | true | Used to set starting color of SweepGradient |
It would be great for me if the reporter can share the below things to understand the root cause of the issue.
animated_loading_border is MIT-licensed.