Skip to content

Instantly share code, notes, and snippets.

View fredgrott's full-sized avatar
👾
focusing on flutter cross platform mobile dev

Fred Grott fredgrott

👾
focusing on flutter cross platform mobile dev
View GitHub Profile
final options = LiveOptions(
// Start animation after (default zero)
delay: Duration(seconds: 1),
// Show each item through (default 250)
showItemInterval: Duration(milliseconds: 500),
// Animation duration (default 250)
showItemDuration: Duration(seconds: 1),
@fredgrott
fredgrott / custom_elevation_screen.dart
Created July 19, 2024 16:05
custom elevation screen
// Copyright 2024 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// Modified from the Flutter Samples Material Demo
// Copyright 2021 under BSD license by Flutter Team
import 'package:auto_animated/auto_animated.dart';
import 'package:flutter/material.dart';
import 'package:raw_md3_demo/build_animated_item.dart';
@fredgrott
fredgrott / elevation_screen.dart
Created July 19, 2024 16:03
elevation screen
// Copyright 2024 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// Modified from the Flutter Samples Material Demo
// Copyright 2021 under BSD license by Flutter Team
import 'package:flutter/material.dart';
@fredgrott
fredgrott / custom_typography_screen.dart
Created July 19, 2024 15:59
custom typography screen
// Copyright 2024 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// Modified from the Flutter Samples Material Demo
// Copyright 2021 under BSD license by Flutter Team
import 'package:auto_animated/auto_animated.dart';
import 'package:flutter/material.dart';
import 'package:raw_md3_demo/build_animated_item.dart';
@fredgrott
fredgrott / typography_screen.dart
Created July 19, 2024 15:57
typography screen
// Copyright 2024 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// Modified from the Flutter Samples Material Demo
// Copyright 2021 under BSD license by Flutter Team
import 'package:flutter/material.dart';
@fredgrott
fredgrott / build_animated_item.dart
Created July 19, 2024 15:51
build animated item
// Copyright 2024 Fredrick Allan Grott. 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';
/// Wraps the item to animate with animation
@fredgrott
fredgrott / custom_color_palette_screen.dart
Created July 19, 2024 15:47
custom color palette screen
// Copyright 2024 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// Modified from the Flutter Samples Material Demo
// Copyright 2021 under BSD license by Flutter Team
@fredgrott
fredgrott / color_palettes_screen.dart
Created July 19, 2024 15:42
color palettes screen
// Copyright 2024 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// Modified from the Flutter Samples Material Demo
// Copyright 2021 under BSD license by Flutter Team
// ignore_for_file: avoid_redundant_argument_values
import 'package:flutter/gestures.dart';
@fredgrott
fredgrott / custom_second_component_list.dart
Created July 19, 2024 15:38
custom second component list
// Copyright 2024 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// Modified from the Flutter Samples Material Demo
// Copyright 2021 under BSD license by Flutter Team
@fredgrott
fredgrott / custom_first_component_list.dart
Created July 19, 2024 15:36
custom first component list
// Copyright 2024 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// Modified from the Flutter Samples Material Demo
// Copyright 2021 under BSD license by Flutter Team