Skip to content

Instantly share code, notes, and snippets.

View BoltUIX's full-sized avatar

Bolt UIX BoltUIX

View GitHub Profile
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:49
Google Fonts - Making the web more beautiful, fast, and open through great typography and iconography
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:49
Imagery communicates and differentiates a product through visuals.
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:49
Onboarding is a virtual unboxing experience that helps users get started with an app.
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:49
Colors - Colour and colour swatch constants which represent Material Design's colour palette.
import 'package:flutter/material.dart';
// Dynamic Color : https://youtu.be/Lv7GmmqDkqQ
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:49
Expansion panels contain creation flows and allow lightweight editing of an element. The ExpansionPanel widget implements this component.
import 'package:flutter/material.dart';
/// Flutter code sample for [ExpansionPanelList].
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:49
AnimatedIcons - Identifier for the supported Material Design animated icons.
import 'package:flutter/material.dart';
/// Flutter code sample for [AnimatedIcon].
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:49
Icons are small symbols for actions or other items
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:50
Scaffold - Implements the basic Material Design visual layout structure. This class provides APIs for showing drawers, snack bars, and bottom sheets.
import 'package:flutter/material.dart';
/// Flutter code sample for [Scaffold].
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:50
ListTile - A single fixed-height row that typically contains some text as well as a leading or trailing icon.
import 'package:flutter/material.dart';
/// Flutter code sample for [ListTile].
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 04:50
Stepper - A Material Design stepper widget that displays progress through a sequence of steps.
import 'package:flutter/material.dart';
/// Flutter code sample for [Stepper].
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override