Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 1fe57de

Browse files
add flutter blog
1 parent 30305b8 commit 1fe57de

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/pages/guides/dart/flutter.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ class HistoryListView extends StatefulWidget {
576576
class _HistoryListViewState extends State<HistoryListView> {
577577
final _key = GlobalKey();
578578
579-
// Create a mask which will make a fade out appearance by making a linear gradient of transparent -> opaque.
579+
// Create a linear gradient mask from transparent to opaque.
580580
static const Gradient _maskingGradient = LinearGradient(
581581
colors: [Colors.transparent, Colors.black],
582582
stops: [0.0, 0.5],
@@ -855,7 +855,8 @@ return Row(
855855
children: [
856856
SafeArea(
857857
child: NavigationRail(
858-
extended: constraints.maxWidth >= 600, // Display only icons if screen width is less than 600px
858+
// Display only icons if screen width is less than 600px
859+
extended: constraints.maxWidth >= 600,
859860
destinations: [
860861
NavigationRailDestination(
861862
icon: Icon(Icons.home),
@@ -1035,7 +1036,7 @@ runtimes:
10351036
10361037
Create the Dockerfile at the same path as your runtime specifies. This Dockerfile is fairly straightforward, taking its
10371038
1038-
```Dockerfile {{ label: "docker/flutter.dockerfile" }}
1039+
```dockerfile {{ label: "docker/flutter.dockerfile" }}
10391040
FROM dart:stable AS build
10401041

10411042
# The Nitric CLI will provide the HANDLER arg with the location of our service

0 commit comments

Comments
 (0)