flutter_awesome_select 6.1.2-beta
flutter_awesome_select: ^6.1.2-beta 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,
accentColor: Colors.red,
visualDensity: VisualDensity.adaptivePlatformDensity,
useTextSelectionTheme: true,
),
dark: ThemeData(
brightness: Brightness.dark,
primarySwatch: Colors.red,
primaryColor: Colors.red,
accentColor: Colors.red,
toggleableActiveColor: Colors.red,
visualDensity: VisualDensity.adaptivePlatformDensity,
useTextSelectionTheme: true,
),
mode: ThemeMode.system,
builder: (context, theme) {
return MaterialApp(
title: 'Smart Select',
theme: theme?.light,
darkTheme: theme?.dark,
themeMode: theme?.mode,
home: Features(),
);
},
);
}
}