settings_screen

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

settings screen

settings_screen #
Create a settings screen for your app.
Usage #
Full options:
import 'package:settings_screen/settings_screen.dart';

class HomeScreen extends StatelessWidget {
const HomeScreen({
super.key,
});

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Flutter Demo Home Page'),
),
body: settingsScreen(
[
{
"title": "General",
"subtitle": "General settings",
"onTap": () {},
"leadingIcon": Icons.settings,
},
{
"title": "Security",
"subtitle": "Security settings",
"onTap": () {},
"leadingIcon": Icons.security,
},
{
"title": "Notifications",
"subtitle": "Notifications settings",
"onTap": () {},
"leadingIcon": Icons.notifications,
},
{
"title": "About",
"subtitle": "About settings",
"onTap": () {},
"leadingIcon": Icons.info,
},
],
globalTrailingIcon: Icons.arrow_circle_right_rounded, // optional
),
);
}
}
copied to clipboard
Rendering #

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.

Related Products

More From This Creator