Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@

### What is the value of this and can you measure success?

### Screenshots (Optional)


9 changes: 9 additions & 0 deletions example/assets/images/icons/fuchsia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions example/assets/images/icons/kmm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
129 changes: 82 additions & 47 deletions example/lib/gen/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 29 additions & 20 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,36 @@ void main() {
title: const Text('FlutterGen'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
// Auto generated image from FlutterGen.
Image(image: Assets.images.chip1),
Assets.pictures.chip5.image(
width: 120,
height: 120,
fit: BoxFit.scaleDown,
),
const Text(
'Hi there, I\'m FlutterGen',
style: TextStyle(
// Auto generated color from FlutterGen.
color: ColorName.black60,
// Auto generated font from FlutterGen.
fontFamily: FontFamily.robotoMono,
fontFamilyFallback: [FontFamily.raleway],
child: SingleChildScrollView(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
// Auto generated image from FlutterGen.
Image(image: Assets.images.chip1),
Assets.images.icons.kmm.svg(),
Assets.images.icons.fuchsia.svg(),
Assets.images.icons.paint.svg(
width: 120,
height: 120
),
),
],
Assets.pictures.chip5.image(
width: 120,
height: 120,
fit: BoxFit.scaleDown,
),
const Text(
'Hi there, I\'m FlutterGen',
style: TextStyle(
// Auto generated color from FlutterGen.
color: ColorName.black60,

// Auto generated font from FlutterGen.
fontFamily: FontFamily.robotoMono,
fontFamilyFallback: [FontFamily.raleway],
),
),
],
),
),
),
),
Expand Down
Loading