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 05:11
Material Chip Action
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 05:11
Material Chip Action
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 05:11
Material Chip Filter
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 05:11
Material Chip Input
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 05:11
Material Date Picker
import 'package:flutter/material.dart';
// Entry point of the application
void main() => runApp(const DatePickerApp());
// The main application class
class DatePickerApp extends StatelessWidget {
const DatePickerApp({super.key});
// Build method for the main application
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 05:10
Material Time Picker
import 'package:flutter/material.dart';
// Entry point of the application
void main() => runApp(const MaterialDemo());
// The main application class
class MaterialDemo extends StatelessWidget {
const MaterialDemo({super.key});
// Build method for the main application
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 05:10
Material Menu
import 'package:flutter/material.dart';
// Enum representing the items in the popup menu
enum SampleItem { itemOne, itemTwo, itemThree }
// Entry point of the application
void main() => runApp(const PopupMenuApp());
// The main application class
class PopupMenuApp extends StatelessWidget {
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 05:10
Material Radio
import 'package:flutter/material.dart';
// Entry point of the application
void main() => runApp(const RadioExampleApp());
// The main application class
class RadioExampleApp extends StatelessWidget {
const RadioExampleApp({super.key});
// Build method for the main application
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 05:10
Material Slider
import 'package:flutter/material.dart';
// Entry point of the application
void main() => runApp(const SliderApp());
// The main application class
class SliderApp extends StatelessWidget {
const SliderApp({super.key});
// Build method for the main application
@BoltUIX
BoltUIX / main.dart
Last active February 22, 2024 05:10
Material Switch
import 'package:flutter/material.dart';
// Entry point of the application
void main() => runApp(const MaterialDemo());
// The main application class
class MaterialDemo extends StatelessWidget {
const MaterialDemo({super.key});
// Build method for the main application