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/material.dart'; | |
class CalendarTemplateOne extends StatefulWidget { | |
const CalendarTemplateOne({Key? key}) : super(key: key); | |
@override | |
CalendarTemplateOneState createState() => CalendarTemplateOneState(); | |
} | |
class CalendarTemplateOneState extends State<CalendarTemplateOne> { |
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 'dart:math'; | |
import 'package:flutter/material.dart'; | |
import 'package:intl/intl.dart'; | |
const Color primaryColor = Color(0xFF066AC9); | |
const Color vistaWhite = Color(0xFFFAF9F9); | |
const Color darkJungleGreen = Color(0xFF212121); | |
const Color heather = Color(0xFFBCC1CD); | |
const Color blueGrey = Color(0xFF64748B); |
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
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 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
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 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/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 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/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 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/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 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/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 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/material.dart'; | |
class TabBarOne extends StatelessWidget { | |
const TabBarOne({ | |
super.key, | |
required this.tabs, | |
this.isScrollable = true, | |
this.controller, | |
}); |
NewerOlder