commit 7dcc2e700dfcb315c05de40f07c299d91c7da128
parent 0f84a7a4d721abe28d4106fcda6e7b188ca0aa58
Author: aditya-samal <samaladitya2004@gmail.com>
Date: Tue, 2 Dec 2025 05:30:01 +0530
Fixed Stylesheet
Diffstat:
1 file changed, 1 insertion(+), 33 deletions(-)
diff --git a/lib/ui/pages/stylesheet_page.dart b/lib/ui/pages/stylesheet_page.dart
@@ -210,8 +210,6 @@ class _StylesheetPageState extends State<StylesheetPage> {
: (_stylesheetMap == null && _rawJsonString == null && _projectAssets.isEmpty && _logoPaths.isEmpty)
? _buildEmptyState()
: _buildContent(),
- floatingActionButton: _buildFAB(),
- floatingActionButtonLocation: FloatingActionButtonLocation.endFloat,
bottomNavigationBar: BottomBar(currentTab: BottomBarItem.stylesheet, projectId: _currentProjectId),
);
}
@@ -249,7 +247,7 @@ class _StylesheetPageState extends State<StylesheetPage> {
return RefreshIndicator(
onRefresh: _generateStylesheet,
child: SingleChildScrollView(
- padding: const EdgeInsets.only(left: 16, right: 16, top: 24, bottom: 104),
+ padding: const EdgeInsets.only(left: 16, right: 16, top: 24, bottom: 24),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -293,36 +291,6 @@ class _StylesheetPageState extends State<StylesheetPage> {
);
}
- Widget _buildFAB() {
- return Container(
- margin: const EdgeInsets.only(bottom: 104),
- child: FloatingActionButton.extended(
- onPressed: () {
- // Handle visualize action
- },
- backgroundColor: Variables.textPrimary,
- elevation: 0,
- shape: RoundedRectangleBorder(
- borderRadius: BorderRadius.circular(1000),
- ),
- label: Padding(
- padding: const EdgeInsets.symmetric(horizontal: 16),
- child: Row(
- mainAxisSize: MainAxisSize.min,
- children: [
- const Icon(Icons.visibility, size: 20, color: Variables.textWhite),
- const SizedBox(width: 8),
- Text(
- 'Visualize',
- style: Variables.buttonTextStyle,
- ),
- ],
- ),
- ),
- ),
- );
- }
-
Widget _buildGenerateButton(String label) {
return GestureDetector(
onTap: _generateStylesheet,