-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from seochan99/feature/profile
✨Feat : Study main, haeder
- Loading branch information
Showing
15 changed files
with
587 additions
and
206 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import 'package:earlips/utilities/style/color_styles.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_svg/flutter_svg.dart'; | ||
import 'package:get/get.dart'; | ||
|
||
class DefaultBackAppbar extends StatelessWidget { | ||
final String title; | ||
const DefaultBackAppbar({super.key, required this.title}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return AppBar( | ||
title: Text( | ||
title, | ||
style: const TextStyle(fontSize: 16, fontWeight: FontWeight.w600), | ||
), | ||
centerTitle: true, | ||
surfaceTintColor: ColorSystem.white, | ||
backgroundColor: ColorSystem.white, | ||
automaticallyImplyLeading: true, | ||
leadingWidth: 90, | ||
leading: TextButton.icon( | ||
style: TextButton.styleFrom( | ||
splashFactory: NoSplash.splashFactory, | ||
foregroundColor: ColorSystem.white, | ||
shape: RoundedRectangleBorder( | ||
borderRadius: BorderRadius.circular(16.0), | ||
), | ||
), | ||
icon: SvgPicture.asset("assets/icons/back.svg"), | ||
label: const Text( | ||
"뒤로", | ||
style: TextStyle( | ||
color: ColorSystem.gray5, | ||
fontSize: 14, | ||
fontWeight: FontWeight.w600, | ||
height: 1.4, | ||
), | ||
), | ||
onPressed: () { | ||
Get.back(); | ||
}, | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.