Historico de quizzes e inicio de atualização da IA para leitura de pdfs de matemática (incompleto)
This commit is contained in:
@@ -349,7 +349,7 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
const SizedBox(height: 8),
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
color: cs.surface.withOpacity(0.8),
|
||||
@@ -396,13 +396,13 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
|
||||
),
|
||||
),
|
||||
Container(
|
||||
margin: const EdgeInsets.symmetric(horizontal: 16),
|
||||
margin: const EdgeInsets.only(right: 16),
|
||||
decoration: BoxDecoration(
|
||||
color: cs.surface.withOpacity(0.8),
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
),
|
||||
child: TabBar(
|
||||
isScrollable: _filteredClassIds.length > 3,
|
||||
isScrollable: true,
|
||||
dividerColor: Colors.transparent,
|
||||
indicatorSize: TabBarIndicatorSize.tab,
|
||||
indicator: BoxDecoration(
|
||||
@@ -419,16 +419,18 @@ class _ContentManagementPageState extends State<ContentManagementPage> {
|
||||
fontWeight: FontWeight.normal,
|
||||
fontSize: 14,
|
||||
),
|
||||
tabs: _filteredClassIds
|
||||
.map(
|
||||
(classId) => Tab(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20),
|
||||
child: Text(_classNames[classId] ?? classId),
|
||||
),
|
||||
tabs: List.generate(_filteredClassIds.length, (index) {
|
||||
final classId = _filteredClassIds[index];
|
||||
return Tab(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(
|
||||
left: index == 0 ? 4 : 12,
|
||||
right: index == _filteredClassIds.length - 1 ? 4 : 12,
|
||||
),
|
||||
)
|
||||
.toList(),
|
||||
child: Text(_classNames[classId] ?? classId),
|
||||
),
|
||||
);
|
||||
}),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
|
||||
Reference in New Issue
Block a user