This file contains 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
class CountingText extends StatefulWidget { | |
const CountingText({ | |
Key? key, | |
required this.begin, | |
required this.end, | |
this.precision = 0, | |
this.curve = Curves.decelerate, | |
this.duration = const Duration(milliseconds: 400), | |
this.style, | |
this.textAlign, |
This file contains 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
class Marquee extends StatefulWidget { | |
const Marquee({ | |
Key? key, | |
required this.children, | |
this.offset = 40.0, | |
this.maxHeight = 40.0, | |
}) : itemBuilder = null, | |
itemCount = children.length, | |
super(key: key); |
This file contains 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/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
// final dateFormat = DateFormat('dd-MM-yyyy'); | |
typedef DateSelectionCallback = void Function(DateTime selectedDate); | |
Future<void> cupertinoCalenderDrawer({ | |
required BuildContext context, | |
required DateTime? initialDate, | |
required DateSelectionCallback onSave, |
This file contains 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/material.dart'; | |
enum IndicatorSide { start, end } | |
PageController controller = PageController(viewportFraction: 1, keepPage: true); | |
class VerticalTabs extends StatefulWidget { | |
final int initialIndex; | |
final double tabsWidth; | |
final double indicatorWidth; |
This file contains 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/material.dart'; | |
class TabBarThree extends StatelessWidget { | |
final List<String> tabs; | |
final bool isScrollable; | |
final double height; | |
final TabController? tabController; | |
final double borderRadius; | |
const TabBarThree({ |
This file contains 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/material.dart'; | |
class TabBarTwo extends StatelessWidget { | |
final List<String> tabs; | |
final bool isScrollable; | |
final double height; | |
final TabController? tabController; | |
final double borderRadius; | |
const TabBarTwo({ |
This file contains 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/material.dart'; | |
class TabBarOne extends StatelessWidget { | |
const TabBarOne({ | |
super.key, | |
required this.tabs, | |
this.isScrollable = true, | |
this.controller, | |
}); |
This file contains 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 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
class BlurContainer extends StatelessWidget { | |
final Widget child; | |
final double? height; | |
final double? width; | |
final double elevation; | |
final double blur; |
NewerOlder