This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| class Shimmer extends StatefulWidget { | |
| const Shimmer({super.key, this.size, this.child}); | |
| /// The size of the shimmer effect. | |
| /// | |
| /// Either this or [child] must be provided. | |
| /// If both are provided, [child] takes precedence. |