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
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override |
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'; | |
class SliverAppBarStatus extends StatefulWidget { | |
const SliverAppBarStatus({Key? key}) : super(key: key); | |
@override | |
_SliverAppBarStatusState createState() => _SliverAppBarStatusState(); | |
} |
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:english_words/english_words.dart'; | |
import 'package:flutter/material.dart'; | |
class SliverAppBarRounded extends StatefulWidget { | |
const SliverAppBarRounded({Key? key}) : super(key: key); | |
@override | |
_SliverAppBarRoundedState createState() => _SliverAppBarRoundedState(); |
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:circular_profile_avatar/circular_profile_avatar.dart'; | |
import 'package:flutter/material.dart'; | |
class SliverPersistentAppBar extends StatelessWidget { | |
const SliverPersistentAppBar({Key? key}) : super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
return SafeArea( | |
child: Material( |
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 CustomTableCalendar extends StatefulWidget { | |
const CustomTableCalendar({Key? key}) : super(key: key); | |
@override | |
_CustomTableCalendarState createState() => _CustomTableCalendarState(); | |
} | |
class _CustomTableCalendarState extends State<CustomTableCalendar> { | |
final todaysDate = DateTime.now(); | |
var _focusedCalendarDate = DateTime.now(); |
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'; | |
import 'package:intl/intl.dart'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} |