Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix-flutter-deprecated' into fix…
Browse files Browse the repository at this point in the history
…-flutter-deprecated
  • Loading branch information
JayAgola committed Oct 31, 2024
2 parents aea5ddb + 7a11a02 commit 652bc5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ android {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storeFile keystoreProperties['storeFile']
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
signingConfig signingConfigs.debug
}
}

Expand Down
13 changes: 8 additions & 5 deletions lib/widgets/announcement_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,20 @@ class AnnouncementCard extends StatelessWidget {
child: Image.asset('assets/arcadia-logo3.png'),
),
Container(
width: 220,
width: MediaQuery.sizeOf(context).width*0.4,
child: Text(
announcement.title,
textAlign: TextAlign.center,
style: TextStyle(color: Colors.white, fontSize: 20),
),
),
Text(
DateFormat(dateFormat).format(announcement.createddateTime),
style: TextStyle(color: Colors.white, fontSize: 12),
textAlign: TextAlign.start,
Container(
width: MediaQuery.sizeOf(context).width*0.3,
child: Text(
DateFormat(dateFormat).format(announcement.createddateTime),
style: TextStyle(color: Colors.white, fontSize: 12),
textAlign: TextAlign.start,
),
),
],
),
Expand Down

0 comments on commit 652bc5f

Please sign in to comment.