Compare commits
2 Commits
ea364e2df2
...
3c1d8d54a3
Author | SHA1 | Date | |
---|---|---|---|
3c1d8d54a3 | |||
1d63eb96e4 |
@ -1,7 +1,7 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<!-- <uses-permission android:name="android.permission.INTERNET" />-->
|
||||
<!-- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />-->
|
||||
|
||||
<application
|
||||
android:label="test_app"
|
||||
|
@ -51,15 +51,26 @@ class MyWidget extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final data = [
|
||||
_CardData('Hello',
|
||||
_CardData(
|
||||
'Hello',
|
||||
descriptionText: 'Hello text',
|
||||
imageUrl:
|
||||
'https://unsplash.com/photos/6GMq7AGxNbE/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8Mnx8cmFjY29vbnxlbnwwfHx8fDE3Mjc5MTExNTl8MA&force=true&w=640'),
|
||||
_CardData('Hello 2',
|
||||
'https://unsplash.com/photos/6GMq7AGxNbE/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8Mnx8cmFjY29vbnxlbnwwfHx8fDE3Mjc5MTExNTl8MA&force=true&w=640',
|
||||
),
|
||||
_CardData(
|
||||
'Hello 2',
|
||||
descriptionText: 'Hello 2 text',
|
||||
icon: Icons.add,
|
||||
imageUrl:
|
||||
'https://unsplash.com/photos/UopR2NUBYek/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8MTF8fHJhY2Nvb258ZW58MHx8fHwxNzI3OTExMTU5fDA&force=true&w=640'),
|
||||
'https://unsplash.com/photos/UopR2NUBYek/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8MTF8fHJhY2Nvb258ZW58MHx8fHwxNzI3OTExMTU5fDA&force=true&w=640',
|
||||
),
|
||||
_CardData(
|
||||
'Hello 3',
|
||||
descriptionText: 'Hello 3 text',
|
||||
icon: Icons.add,
|
||||
imageUrl:
|
||||
'https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/Raccoon_on_Log.jpg/640px-Raccoon_on_Log.jpg',
|
||||
),
|
||||
];
|
||||
|
||||
return Center(
|
||||
|
Loading…
Reference in New Issue
Block a user