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
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
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
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 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> { |
OlderNewer