-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ekran skanowania wyszukaj #145
base: feature/redesing
Are you sure you want to change the base?
Conversation
D3bi7
commented
Dec 17, 2024
•
edited
Loading
edited
lib/pages/scan/scan.dart
Outdated
textAlign: TextAlign.center, | ||
style: TextStyle(color: Colors.white), | ||
child: Container( | ||
width: 328, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nie ustawiaj sztywno szerokości i wysokości, tylko ustaw odpowiednie paddingi. NA podstawie wielkości tekstu i szerokości ekranu, widok sam powienien się przeskalować.
lib/pages/scan/scan.dart
Outdated
padding: | ||
const EdgeInsets.only(left: 20.0, right: 10), | ||
child: SvgPicture.asset( | ||
'assets/search.svg', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wygeneruj plik z assetami z niego korzystaj, nie podawaj ścieżek ręcznie.
# Conflicts: # lib/pages/detail/logotypes.dart # lib/pages/scan/scan_background.dart
), | ||
Expanded( | ||
child: Text( | ||
'Wyszukaj', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To powinno być w slangu.
child: Text( | ||
'Wyszukaj', | ||
style: TextStyle( | ||
fontSize: 16, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu powinień być użyty TextSize.mediumTitle
@@ -71,19 +71,41 @@ class _MainPageState extends State<MainPage> { | |||
children: <Widget>[ | |||
_buildQrView(context), | |||
SafeArea( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Możesz wynieść ten cały obiekt do nowego widgetu? Np. ScanSearchButton. Wszystko co odpowada za ten guzik, żeby było w oddzielnym pliku.