basic_selector 0.0.1 basic_selector: ^0.0.1 copied to clipboard
Basic Selector is a Flutter package that creates a widget to select a value from a wheeled like picker.
import 'package:example/src/config/app_router.dart';
import 'package:example/src/screens/screens.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Basic Selector App',
theme: ThemeData(
brightness: Brightness.light,
useMaterial3: true,
colorScheme: ColorScheme.fromSwatch(
primarySwatch: Colors.grey,
),
),
onGenerateRoute: AppRouter.onGenerateRoute,
initialRoute: HomeScreen.routeName,
);
}
}