flutter_awesome_select 6.5.0 flutter_awesome_select: ^6.5.0 copied to clipboard
Easily convert your usual single/multiple select or dropdown into page, dialog, or bottom sheet with various choice input such as radio, checkbox, switch, chips, or custom widget.
import 'package:flutter/material.dart';
import 'package:theme_patrol2/theme_patrol2.dart';
import 'features.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return ThemePatrol(
light: ThemeData(
brightness: Brightness.light,
primarySwatch: Colors.red,
primaryColor: Colors.red,
colorScheme: ColorScheme.light(secondary: Colors.red),
visualDensity: VisualDensity.adaptivePlatformDensity,
),
dark: ThemeData(
brightness: Brightness.dark,
primarySwatch: Colors.red,
primaryColor: Colors.red,
colorScheme: ColorScheme.dark(secondary: Colors.red),
// accentColor: Colors.red,
toggleableActiveColor: Colors.red,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
mode: ThemeMode.system,
builder: (context, theme) {
return MaterialApp(
title: 'Smart Select',
theme: theme?.light,
darkTheme: theme?.dark,
themeMode: theme?.mode,
home: Features(),
);
},
);
}
}