83 lines
1.6 KiB
Dart
83 lines
1.6 KiB
Dart
|
|
import 'package:capstone_project/widgets/navbar.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
import 'package:shadcn_flutter/shadcn_flutter.dart';
|
|
|
|
class SettingsPage extends StatelessWidget {
|
|
|
|
static GoRoute route = GoRoute(
|
|
path: "/settings",
|
|
builder: (context, state) => SettingsPage()
|
|
);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
// TODO: implement build
|
|
return Scaffold(
|
|
headers: [
|
|
AppBar(
|
|
title: Text("Settings"),
|
|
)
|
|
],
|
|
footers: [
|
|
ProjNavBar(
|
|
currentPage: "settings",
|
|
)
|
|
],
|
|
child: Column(
|
|
children: [
|
|
|
|
SizedBox(
|
|
width: double.infinity,
|
|
child: Card(
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
|
|
Text(
|
|
"API Key"
|
|
).extraBold,
|
|
|
|
const SizedBox(height: 16),
|
|
|
|
TextField(
|
|
|
|
),
|
|
|
|
],
|
|
),
|
|
),
|
|
),
|
|
|
|
const SizedBox(height: 16),
|
|
|
|
SizedBox(
|
|
width: double.infinity,
|
|
child: Card(
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
|
|
Text(
|
|
"Feeds"
|
|
).extraBold,
|
|
|
|
const SizedBox(height: 16),
|
|
|
|
TextField(
|
|
|
|
),
|
|
|
|
],
|
|
),
|
|
),
|
|
)
|
|
|
|
],
|
|
).withMargin(
|
|
all: 10
|
|
),
|
|
);
|
|
}
|
|
|
|
} |